joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4bc560], 0
mov dword [ebp - 4], ecx
jne 0x42c3b8
push str.GlobalF0D6272E_5BAD_4ecf_980E_05D3D9EA697E__
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4bc560], eax
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 1
jb 0x42c3f7
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jbe 0x42c3f5
lea esp, [esp]
mov eax, dword [edi]
push eax
push str.install
call fcn.00462df2
add esp, 8
test eax, eax
je 0x42c3ee
inc esi
add edi, 4
cmp esi, ebx
jb 0x42c3d0
jmp 0x42c3f5
mov eax, dword [ebp - 4]
or dword [eax + 8], 1
pop edi
pop esi
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push 0
push edx
push 0x42c2a0
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
test eax, eax
je 0x42c423
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8

Function at 0x42c470
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bc694], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x15c], edi
jne 0x42c5ae
mov esi, 0x114
push 0x4bc580
mov dword [0x4bc694], 1
mov dword [0x4bc580], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 2
test eax, eax
jne 0x42c53d
push 0x3f
push eax
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x43]
push eax
call fcn.00461130
add esp, 0xc
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x160]
push eax
push 0x499794
push 0x499738
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x164], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42c5cd
movsx ecx, byte [ebp - 0x44]
lea edx, [ebp - 0x42]
sub ecx, 0x30
push edx
mov dword [0x4bc590], edi
mov dword [0x4bc584], ecx
call fcn.00463f76
add esp, 4
mov dword [0x4bc588], eax
mov ecx, dword [0x4bc584]
cmp ecx, 6
ja 0x42c552
jne 0x42c5a8
cmp dword [0x4bc588], edi
jb 0x42c5a8
push 0x110
lea ecx, [ebp - 0x154]
push 0
push ecx
call fcn.00461130
add esp, 0xc
push 0x497e48
push 0x497e58
mov dword [ebp - 0x158], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c5a8
lea edx, [ebp - 0x158]
push edx
call eax
test eax, eax
jne 0x42c5a8
mov ecx, 0x45
lea esi, [ebp - 0x158]
mov edi, 0x4bc580
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x15c]
mov ecx, 0x45
lea eax, [ecx - 0x44]
mov esi, 0x4bc580
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046111a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov edx, 4
mov dword [0x4bc588], eax
cmp edx, ecx
sbb eax, eax
neg eax
inc eax
mov dword [0x4bc584], ecx
mov dword [0x4bc590], eax
jmp 0x42c543
Function at 0x42caa0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
cmp ecx, edi
je 0x42cba8
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x42cba8
movzx edx, word [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push ecx
mov dword [eax], edx
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp + 8], esp
call fcn.0042c960
test al, al
je 0x42cb9a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 8], esi
cmp dword [0x4b92c4], esi
je 0x42cb1a
cmp esi, edi
jne 0x42cb33
lea ecx, [ebp + 8]
call fcn.0041bf10
lea ecx, [ebp - 0xc]
call fcn.0042ca80
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
mov eax, dword [0x4bf3fc]
push ebx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0xc]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
lea edx, [ebp - 4]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42cb90
mov eax, dword [0x4bf3fc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, dword [ebp - 4]
jne 0x42cb90
lea ecx, [ebp + 8]
call fcn.0041bf10
lea ecx, [ebp - 0xc]
call fcn.0042ca80
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
call fcn.0041bf10
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x42cba8
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ce40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 0x21c], 0
push ecx
mov word [ebp - 0x218], ax
call fcn.00461130
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x42cebf
push 0x4a8660
mov ecx, edi
call fcn.00420460
jmp 0x42cfe5
call fcn.00430446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ced9
push 0x80004005
call fcn.0040b9f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0
mov dword [ebp - 4], 0
call fcn.00463fbb
add esp, 4
push str._Y_m_d_H_M_S
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edx
call fcn.0042cdb0
mov esi, eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi]
push eax
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
push str._s360_install__s__d_
push ecx
call fcn.00411040
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cf70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x220]
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x42cfb4
push 0x4a8660
mov ecx, edi
call fcn.00420460
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cfe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42cfe5
add esi, 0xfffffff0
push esi
call int.0041b7c0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cfe5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046111a
mov esp, ebp
pop ebp
ret
Function at 0x42d010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d18
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x4ba920]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040c450
test al, al
jne 0x42d054
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.0042ce40
add esp, 4
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jne 0x42d0a8
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d093
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042cbc0
mov esi, eax
add esp, 4
test esi, esi
je 0x42d0f2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x4997d4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00426fa0
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00461130
mov ecx, dword [ebp - 0x14]
add esp, 0x18
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0x49984c
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x4c], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x42d170
call fcn.0040f530
lea ecx, [ebp - 0x10]
call fcn.0040f530
mov eax, 0xf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040f530
lea ecx, [ebp - 0x10]
call fcn.0040f530
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d580
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push 0
push 2
mov dword [ebp - 0x234], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d5be
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046111a
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x228
lea ecx, [ebp - 0x22c]
push 0
push ecx
call fcn.00461130
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
push esi
mov dword [ebp - 0x230], 0x22c
xor ebx, ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42d617
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x42d611
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d5f6
jmp 0x42d617
mov ebx, dword [ebp - 0x218]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42d660
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x234]
push ecx
push edx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call edi
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046111a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046111a
mov esp, ebp
pop ebp
ret

Function at 0x42d680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42d695
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00461130
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x38], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42da50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d56
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.00430446
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42da9c
push 0x80004005
call fcn.0040b9f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x21c]
push ecx
push esi
mov dword [ebp - 4], ebx
call fcn.0042d970
add esp, 8
test al, al
jne 0x42daf7
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dc45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42dc45
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.00461130
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0x498898
push 0x4999e0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
je 0x42db79
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42dae2
call fcn.00430446
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42db93
push 0x80004005
call fcn.0040b9f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
mov byte [ebp - 4], 1
call fcn.0042d970
add esp, 8
test al, al
jne 0x42dbf1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42db57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42db57
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx - 0xc]
mov edx, dword [ebp - 0x21c]
cmp eax, dword [edx - 0xc]
jge 0x42dc2f
push eax
push edx
push ecx
call fcn.00463591
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x220]
sete bl
call fcn.0040f530
lea ecx, [ebp - 0x21c]
call fcn.0040f530
mov al, bl
jmp 0x42dc47
lea ecx, [ebp - 0x220]
call fcn.0040f530
lea ecx, [ebp - 0x21c]
call fcn.0040f530
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046111a
mov esp, ebp
pop ebp
ret
Function at 0x42de90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.00461130
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov edx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeTray.exe]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x210], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42df35
cmp dword [ebp - 0x214], 1
jne 0x42df35
lea eax, [ebp - 0x20c]
push eax
call fcn.00427390
add esp, 4
test eax, eax
je 0x42df35
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x42df3a
push 0x4a8660
mov ecx, esi
call fcn.00420460
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046111a
mov esp, ebp
pop ebp
ret

Function at 0x42df60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492dc8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ba920]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042dda0
add esp, 4
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
je 0x42e042
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e03f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00427390
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x42e008
mov edx, dword [ebp + 8]
push edx
push eax
call fcn.0042d680
add esp, 8
lea ecx, [ebp - 0x10]
test al, al
je 0x42dfef
call fcn.0040f530
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
call fcn.0040f530
mov eax, 0x13
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e02b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x12
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x432fe4
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4933a1
call fcn.00464dce
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00420460
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x433046
call fcn.0043189e
cmp eax, 1
jne 0x433046
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00432724
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00430a87
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call int.0040bc10
mov dword [ebp + 8], VariantInit
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call int.0040bc10
mov eax, esi
call fcn.00464ea6
ret 0x14

Function at 0x433072
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x4933cc
call fcn.00464dce
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00420460
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4330d4
call fcn.0043189e
cmp eax, 1
jne 0x4330d4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00432724
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00430a87
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call int.0040bc10
mov dword [ebp + 8], VariantInit
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call int.0040bc10
mov eax, esi
call fcn.00464ea6
ret 8
Function at 0x4401b1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x440249
push 0x49dcf4
push 4
push eax
call fcn.0046234d
push eax
call fcn.00418b90
add esp, 0x10
push ebx
push edi
call fcn.00464f1a
mov edi, dword [eax]
call fcn.00464f1a
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00463e41
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00464f1a
cmp dword [eax], ebx
je 0x440260
call fcn.00464f1a
push dword [eax]
call fcn.0042f449
pop ecx
jmp 0x440267
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4401f4
jmp 0x4402ee
call fcn.00464f1a
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4402ea
cmp dword [ebp - 0x234], esi
jae 0x4402ea
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00461130
add esp, 0xc
push 0x497ea8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4402d9
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4402d9
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4402d9
push ebx
push ebx
push esi
jmp 0x4402e2
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4402ec
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046111a
leave
ret

Function at 0x4492bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x449302
call fcn.004324b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x449302
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44931e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00448e33
mov esi, eax
test edi, edi
je 0x44931c
test ebx, ebx
je 0x44931c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44ceb4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x44ced8
cmp dword [edi + 0x54], 0
jne 0x44ced8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004324b8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044ce75
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45ed56
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x45ed8b
xor eax, eax
jmp 0x45edde
lea eax, [ebp - 0x210]
push eax
call fcn.00464db4
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x45edbc
push 0x498208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004689d7
add esp, 0xc
test eax, eax
jne 0x45ed87
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004689d7
add esp, 0xc
test eax, eax
jne 0x45ed87
lea eax, [ebp - 0x210]
push eax
call fcn.00439e27
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046111a
leave
ret

Function at 0x46111a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ba920]
jne 0x461124
repz ret
jmp fcn.00469138