joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x101
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b620
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x496e2c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x40b620
cmp dword [ebp - 8], 0
je 0x40b620
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40b630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x496ea8
xor esi, esi
mov dword [ebp - 0x214], 0x208
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40b6d0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0x496f04
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b6c4
lea eax, [ebp - 0x20c]
push eax
push 0x496f1c
call fcn.0047097c
add esp, 8
mov ecx, 1
test eax, eax
cmove esi, ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00470e77
mov esp, ebp
pop ebp
ret

Function at 0x40b6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x496f30
xor esi, esi
mov dword [ebp - 0xc], 0
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40b762
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x496fb4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b759
cmp dword [ebp - 8], 4
jne 0x40b759
mov eax, 1
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b9f0
Capabilities:
Terminate process

Disassembly:
push dword [0x4bc0c4]
push 0x496fe4
call fcn.00471d49
push 0x496ff0
call fcn.00471d49
push 0x497088
call fcn.00471d49
add esp, 0x10
push 1
call fcn.00471af8
int3
Function at 0x40c380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40c4b0
push 0x2c
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.00471730
add esp, 0xc
mov dword [ebp - 0xa0], 0x30
mov dword [ebp - 0x9c], 3
mov dword [ebp - 0x98], 0x40c190
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x80], 0x10
mov dword [ebp - 0x78], 0x497144
mov dword [ebp - 0x7c], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x70]
mov dword [ebx + 4], eax
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x70]
mov byte [ebp - 0x5b], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push esi
lea ecx, [ebx + 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
mov byte [ebx], 0
call fcn.00402270
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x14]
push 2
push eax
push edi
call esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push edi
call esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
sub eax, edx
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0x50000000
push 0x490b00
push 0x497144
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret 8
Function at 0x40c4d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov edi, dword [ebp + 0xc]
mov esi, eax
test esi, esi
js 0x40c53d
push 0x497104
push 0x497120
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c528
mov ecx, dword [edi]
test ecx, ecx
je 0x40c512
mov ecx, dword [ecx]
jmp 0x40c514
xor ecx, ecx
push 0
push 2
push 0
push dword [ebp - 4]
push 0
push 0
push 0
push ecx
call eax
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x40c53d
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x34], 0x497138
test eax, eax
je 0x40c565
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x40c56c
mov dword [ebp - 0x30], 0
movdqa xmm0, xmmword [0x4971e0]
lea eax, [ebp - 0x40]
movdqu xmmword [ebp - 0x2c], xmm0
push eax
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
pop edi
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40c5c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [edi], eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [edi + 8], eax
call fcn.0046b670
push eax
push esi
call fcn.0046b800
mov dword [edi + 0xc], eax
add esp, 0xc
cmp dword [edi], 0
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x24], 0
je 0x40c6b5
test ebx, ebx
je 0x40c645
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
jmp 0x40c65b
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x18], eax
call esi
cdq
sub eax, edx
push 2
sar eax, 1
push ebx
mov dword [edi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov esi, eax
mov dword [edi + 0x24], esi
test esi, esi
je 0x40c69c
mov edi, edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x40c69c
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x40c680
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push 0x40ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push eax
push 4
push 0
push 0x4973ec
push esi
mov dword [ebp - 4], 3
call edi
lea eax, [ebp - 0xc]
push eax
push 0x497410
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
call esi
push 0x36
push 0x497424
push 1
push 0
push 0x49745c
push dword [ebp - 0xc]
call edi
lea eax, [ebp - 8]
push eax
push 0x497424
push dword [ebp - 0xc]
call esi
push 0xc
push 0x49747c
push 1
push 0
push 0x49748c
push dword [ebp - 8]
call edi
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
push 0
push 0x4974a0
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e820
Capabilities:
Delete file
Delete registry key
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x21c]
push eax
push 0x497570
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40e94b
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x4977f8
push dword [ebp - 0x21c]
call esi
push 0x497810
push dword [ebp - 0x21c]
call esi
push 0x497824
push dword [ebp - 0x21c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4975c8
push dword [ebp - 0x21c]
call esi
push 0x4975d4
push dword [ebp - 0x21c]
call esi
push 0x4975f0
push dword [ebp - 0x21c]
call esi
push 0x49760c
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x497830
lea ecx, [ebp - 0x224]
call fcn.00402130
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040e630
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.004021d0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x40e937
mov eax, dword [eax]
jmp 0x40e939
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.004021d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470e77
mov esp, ebp
pop ebp
ret
Function at 0x40ede0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x104
push eax
mov dword [ebp - 0x418], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4974ac
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4974c8
push eax
call fcn.00401fc0
lea eax, [ebp - 0x20c]
push eax
push 0x4974e4
call fcn.0040ef30
add esp, 0x18
test al, al
jne 0x40ef08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x40ef08
cmp byte [ebp + 0xc], 0
je 0x40ee68
push 0
jmp 0x40ef0f
push 0x4974ac
lea eax, [ebp - 0x414]
push 0x4974fc
push eax
call fcn.00401fc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x4974e4
call fcn.0040ef30
add esp, 8
test al, al
jne 0x40ef08
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4974ac
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4970f8
push eax
call fcn.00401fc0
lea eax, [ebp - 0x20c]
push eax
push 0x4974e4
call fcn.0040ef30
add esp, 0x18
mov ecx, esi
test al, al
je 0x40ef04
lea eax, [ebp - 0x20c]
push eax
jmp 0x40ef11
push 0
jmp 0x40ef11
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00402130
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00470e77
mov esp, ebp
pop ebp
ret

Function at 0x40ef30
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x4973a0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40ef5b
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push edi
mov dword [ebp - 8], eax
call esi
push 0x4973b0
lea eax, [ebp - 4]
push edi
push eax
call fcn.004733a4
add esp, 0xc
push 0x82
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40efb8
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push eax
push ebx
push 1
push dword [ebp - 8]
call fcn.004736ef
push dword [ebp - 4]
call fcn.0047351f
add esp, 0x14
mov al, 1
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40eff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 4
push eax
push 0x497570
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40f041
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4975f0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40f050
Capabilities:
Delete registry key
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x497540
call fcn.0040ed30
add esp, 4
lea eax, [ebp - 0x210]
push eax
push 0x497570
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40f26e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x214]
push 4
push eax
push 4
push 0
push 0x4975c8
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 2
call esi
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 1
push eax
push 4
push 0
push 0x4975d4
push dword [ebp - 0x210]
call esi
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 3
push eax
push 4
push 0
push 0x4975f0
push dword [ebp - 0x210]
call esi
push edi
lea eax, [ebp - 0x20c]
push 0x4975fc
push eax
call fcn.00401fc0
lea ecx, [ebp - 0x20c]
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x40f130
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f130
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x49760c
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call fcn.0040e770
add esp, 4
push 0x497620
push 0x49738c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x7a
mov dword [ebp - 0x218], 0x497630
mov word [ebp - 0x21c], cx
lea ecx, [ebp - 0x21c]
push ecx
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push 0x4976b0
push reloc.WS2_32.dll_bind
call esi
push 0x497718
push reloc.WS2_32.dll_bind
call esi
push 0x497788
push reloc.WS2_32.dll_bind
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4975c8
push dword [ebp - 0x210]
call esi
push 0x4975d4
push dword [ebp - 0x210]
call esi
push 0x4975f0
push dword [ebp - 0x210]
call esi
push 0x49760c
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test edi, edi
je 0x40f263
cmp edi, 0xc000010e
je 0x40f263
mov eax, dword [0x4bd8d0]
test eax, eax
jne 0x40f243
push 0x497374
push 0x49738c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bd8d0], eax
push edi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470e77
mov esp, ebp
pop ebp
ret
push 0
push ebx
call fcn.0040f280
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret
Function at 0x4242a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4899af
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
call edi
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], 0
call fcn.00424240
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
push 0
mov dword [ebx + 0x40], 0
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x44], 0
push 0
mov byte [ebp - 4], 3
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
call fcn.00419800
mov dword [ebx + 0x48], eax
push 0
push 0
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
call fcn.00419800
mov dword [ebx + 0x50], eax
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 5
call fcn.00424450
push 0
push 0
lea ecx, [ebx + 0x6c]
mov byte [ebp - 4], 6
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
call fcn.00419800
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x74], 0xc8
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
lea esi, [ebx + 0x84]
push esi
call edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea esi, [ebx + 0xb0]
push esi
call edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea esi, [ebx + 0xe0]
mov byte [ebp - 4], 0xb
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004197c0
mov dword [esi], eax
push 0
push 0
lea ecx, [esi + 8]
mov byte [ebp - 4], 0xc
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004197c0
mov dword [esi + 8], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dc50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov ecx, dword [esi]
test ecx, ecx
je 0x42dc76
call fcn.0046b760
mov edi, eax
jmp 0x42dc78
xor edi, edi
mov ecx, dword [esi]
test ecx, ecx
je 0x42dc85
call fcn.004062d0
jmp 0x42dc87
xor eax, eax
mov esi, dword [esi + 4]
test eax, eax
je 0x42dca5
push 0
push esi
push esi
push 0x30000
push 1
push eax
push edi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
test eax, eax
jne 0x42dcd5
xor eax, eax
cmp esi, 0x10
sete al
or eax, 0x110
push eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x80
push 0x49ca84
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00470e77
mov esp, ebp
pop ebp
ret
Function at 0x42e3d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a658
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.0046b860
test eax, eax
jne 0x42e422
push 0x30
push 0x49794c
push 0x49ccf0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42e58c
push 0x3c
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 0x44
push 0
push eax
mov dword [ebp - 0x74], 0
call fcn.00471730
xorps xmm0, xmm0
push 0x49cd74
movdqu xmmword [ebp - 0x34], xmm0
call fcn.0046b670
push eax
push 0x49cd74
call fcn.0046b800
add esp, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0046b3d0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42e484
call fcn.0046b840
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0046b310
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42e56a
push 0x49cdcc
call fcn.0046b670
push eax
push 0x49cdcc
call fcn.0046b800
mov dword [ebp - 0x1c], eax
push 0x49cd98
mov byte [ebp - 4], 4
call fcn.0046b670
push eax
push 0x49cd98
call fcn.0046b800
add esp, 0x18
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0046b3d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0046b3d0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x42e51f
call fcn.0046b840
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x42e52f
call fcn.0046b840
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x42e53f
call fcn.0046b840
push 0x30
push 0x49794c
lea ecx, [ebp - 0x20]
call fcn.0046b310
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42e57c
call fcn.0046b840
jmp 0x42e57c
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42e58c
call fcn.0046b840
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x42e59f
call fcn.0046b840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x101f
push dword [ebp + 8]
call esi
push 0
push 0
push 0x1200
push eax
call esi
mov edi, eax
xor ecx, ecx
mov edx, 4
lea eax, [edi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004704a9
add esp, 4
mov byte [ebp - 1], 0
mov ebx, eax
mov dword [ebp - 8], 0xffffffff
lea eax, [edi*8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42f2f2
cmp dword [ebp - 8], 3
jne 0x42f2f2
lea eax, [edi*8]
cmp dword [ebp - 0xc], eax
jne 0x42f2f2
lea eax, [ebx + edi*4]
push eax
push edi
push 0x103a
push dword [ebp + 8]
call esi
xor esi, esi
test edi, edi
je 0x42f2ee
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x42f2e9
push 0x60
push dword [0x4bd894]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, ax
push eax
push esi
push 0x101e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, edi
jb 0x42f2c0
mov byte [ebp - 1], 1
push ebx
call fcn.00471723
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x101f
push dword [ebp + 8]
call esi
push 0
push 0
push 0x1200
push eax
call esi
mov ebx, eax
xor ecx, ecx
mov edx, 4
lea eax, [ebx + ebx]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004704a9
add esp, 4
mov edi, eax
lea ecx, [edi + ebx*4]
push ecx
push ebx
push 0x103b
push dword [ebp + 8]
call esi
xor esi, esi
test ebx, ebx
je 0x42f398
jmp 0x42f370
push dword [0x4bd894]
push 0x60
push 0
push esi
push 0x101d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + esi*4], eax
inc esi
cmp esi, ebx
jb 0x42f370
lea eax, [ebx*8]
push eax
push edi
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.00471723
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret