joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f40
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x409f86
push 0x444b58
mov eax, 0x444b58
call fcn.0040cee0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x40a018
jg 0x409fae
cmp ebx, ecx
jb 0x40a018
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x409fdd
push 0x444b58
mov eax, 0x444b58
call fcn.0040cee0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.00408290
test eax, eax
je 0x409fd3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x409ffe
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40a025
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40a025
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x40aad0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4482e0]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x40ac10
cmp dword [esp + 0x28], ebp
je 0x40ac10
push ebx
push 0x2800
call fcn.0041b617
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x40ab33
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041a78d
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x40ab40
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.00407fa0
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40abe6
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0041a7a0
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40abd9
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x40abd9
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.0040a850
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x40abf0
inc edi
cmp edi, 0x10
jl 0x40ab40
push ebx
call fcn.0041afa9
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041a78d
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0041a78d
add esp, 0x1c
ret
Function at 0x40acc0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x40acfa
cmp dword [esp + 0x34], esi
je 0x40acfa
push 0x200
call fcn.0041b617
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x40ad05
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ae64
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x40adfa
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40ad5d
mov eax, SysStringLen
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40add3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40adc8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0040ac30
cmp edx, edi
jb 0x40adc8
ja 0x40adc2
cmp eax, dword [esp + 0x24]
jbe 0x40adc8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x40ad50
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x40ae10
cmp dword [esp + 0x24], 0
jbe 0x40ae64
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.00407fa0
add esp, 0xc
test eax, eax
jne 0x40ae49
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041afa9
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.0040a850
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.0041afa9
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40f650
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x43f79b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4482e0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [0x44b49c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
mov ecx, 0x41
lea ebx, [ebp]
call fcn.0040f2f0
add esp, 0xc
xor eax, eax
mov word [ebp + 0x80], ax
xor edi, edi
mov ecx, ebx
push ecx
mov ebx, 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x40f78f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40f6f5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.0040f440
test eax, eax
je 0x40f70c
mov dword [0x44b49c], eax
jmp 0x40f770
call fcn.0040fc60
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], bl
test eax, eax
je 0x40f724
push esi
push eax
call fcn.0040faa0
jmp 0x40f726
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x44b49c], eax
test eax, eax
jne 0x40f744
mov dword [ebp - 0x1c], ebx
push 0x44642c
lea edx, [ebp - 0x1c]
push edx
call fcn.004230df
mov edi, ebx
mov dword [ebp - 0x24], edi
push eax
call fcn.0040f510
add esp, 4
test eax, eax
jne 0x40f76b
mov dword [ebp - 0x18], 3
push 0x44642c
lea eax, [ebp - 0x18]
push eax
call fcn.004230df
mov eax, dword [0x44b49c]
add dword [eax + 0x5bc], ebx
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x40f78f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x44b49c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0041a78d
add ebp, 0x88
mov esp, ebp
pop ebp
ret
Function at 0x40f870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4482e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x44b49c]
xor edi, edi
cmp ecx, edi
jne 0x40f8bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x40f8c8
mov dword [ebp - 0x14], edi
jmp 0x40f8e0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x40f97d
mov ecx, dword [0x44b49c]
mov eax, dword [ecx]
cmp eax, edi
je 0x40f8a7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40f8a7
mov dword [ebp - 4], edi
mov ebx, 0x44b49c
call fcn.0040f990
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x40f91e
mov dword [ebp - 0x18], 1
push 0x44642c
lea eax, [ebp - 0x18]
push eax
call fcn.004230df
mov ecx, esi
mov eax, dword [0x44b49c]
call fcn.0040fc20
test eax, eax
jne 0x40f943
mov dword [ebp - 0x1c], 4
push 0x44642c
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004230df
mov dword [ebp - 4], 0xffffffff
jmp 0x40f968
mov edx, dword [0x44b49c]
mov eax, dword [edx]
test eax, eax
je 0x40f97b
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
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 0x40f990
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x40f9bd
xor ecx, ecx
jmp 0x40f9c9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x40fa7d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x40f9f0
mov dword [esp + 0xc], esi
jmp 0x40fa50
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x40fa49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40fa3c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x40fa50
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40fa50
push 0x444d58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40fa50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x40fa73
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x40f9e2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x40fa91
mov ecx, dword [ebx]
add ecx, 8
call fcn.0040fd20
test eax, eax
je 0x40fa91
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret
Function at 0x40faa0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x43f76b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4482e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0041a7a0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40fb38
push 0x44642c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004230df
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x411670
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4482e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x234], 0
push 0x228
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.0041a7a0
add esp, 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x411736
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41172c
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp + 8]
jne 0x411718
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041af5f
add esp, 0xc
mov dword [ebp - 0x238], 1
jmp 0x41172c
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4116e7
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a78d
mov esp, ebp
pop ebp
ret

Function at 0x411750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x411791
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x411787
mov eax, 1
jmp 0x411793
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4117a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4482e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0041a7a0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x411848
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41183e
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x41182a
mov eax, dword [ebp - 0x220]
mov dword [ebp - 8], eax
jmp 0x41183e
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411814
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a78d
mov esp, ebp
pop ebp
ret
Function at 0x411990
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xb7
je 0x4119d3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 5
jne 0x4119f4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4119f0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax], 0
xor al, al
jmp 0x4119f6
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x4482e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.004023d0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.00416a50
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00414180
lea ecx, [ebp - 0x440]
call fcn.00416ec0
push 0x400
mov eax, dword [ebp + 8]
push eax
call fcn.00413c60
add esp, 8
mov dword [ebp - 0x444], eax
push 2
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x413f2e
call fcn.004138a0
mov dword [ebp - 0x20], eax
jmp 0x41405f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x413f56
call fcn.004138a0
mov dword [ebp - 0x20], eax
jmp 0x41405f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x413f7a
call fcn.004138a0
mov dword [ebp - 0x20], eax
jmp 0x41405f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, dword [ebp - 0x38]
jae 0x413fc4
mov dword [ebp - 0x490], 0x8007000e
lea ecx, [ebp - 0x440]
call fcn.00416ee0
lea ecx, [ebp - 0x1c]
call fcn.00416a70
mov eax, dword [ebp - 0x490]
jmp 0x414091
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x440]
call fcn.00416f30
lea ecx, [ebp - 0x440]
call fcn.00416f10
test eax, eax
jne 0x413fee
mov dword [ebp - 0x20], 0x8007000e
jmp 0x41405f
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.00416f10
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
call fcn.004023d0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x41402d
call fcn.004138a0
mov dword [ebp - 0x20], eax
jmp 0x41405f
lea ecx, [ebp - 0x440]
call fcn.00416f10
xor ecx, ecx
mov edx, dword [ebp - 0x448]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x440]
call fcn.00416f10
push eax
lea ecx, [ebp - 0x28]
call fcn.004141b0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 0
je 0x41406f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x440]
call fcn.00416ee0
lea ecx, [ebp - 0x1c]
call fcn.00416a70
mov eax, dword [ebp - 0x48c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a78d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415b00
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4482e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.00415820
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00415a90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415b65
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.00415850
mov eax, dword [ebp - 0x26c]
jmp 0x415bf3
mov dword [ebp - 0x20], 0x100
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x415bcb
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.00415b00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415bc2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.00415850
mov eax, dword [ebp - 0x268]
jmp 0x415bf3
mov dword [ebp - 0x20], 0x100
jmp 0x415b6c
lea ecx, [ebp - 0x10]
call fcn.004159c0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00415900
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.00415850
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a78d
mov esp, ebp
pop ebp
ret 4
Function at 0x416190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x41619c
xor eax, eax
jne 0x41619c
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4161bd
mov eax, 0xd
jmp 0x416218
xor eax, eax
jne 0x4161a4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x4161ce
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x418ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00418ab0
test eax, eax
je 0x418afc
xor eax, eax
jmp 0x418b3a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x418b09
xor eax, eax
jmp 0x418b3a
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0
call fcn.0041ba7c
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00418ab0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a650
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44a668], 0
push esi
jne 0x41a5be
call fcn.0041a4d2
test eax, eax
je 0x41a601
mov eax, dword [0x44a668]
cmp eax, 1
jne 0x41a5df
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41a601
pop esi
ret
push eax
call dword [0x44a670]
test eax, eax
jne 0x41a649
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41a605
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44a668]
call dword [0x44a670]
mov edi, eax
test edi, edi
je 0x41a62a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41a646
mov edi, esi
add esi, 0xff0
push edi
push dword [0x44a668]
call dword [0x44a66c]
add edi, 0x10
cmp edi, esi
jb 0x41a632
mov eax, edi
pop edi
pop esi
ret
jmp 0x41a5ab

Function at 0x41a78d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4482e0]
jne 0x41a797
repz ret
jmp fcn.0041ee33