joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422980
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
mov bl, cl
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
cmp edx, 0xffffffff
jne 0x4229a4
xor esi, esi
jmp 0x4229c4
test bl, bl
je 0x4229ad
or edx, 1
jmp 0x4229af
xor edx, edx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
cmp dword [ebp + 0x1c], 8
jb 0x4229d5
push dword [ebp + 8]
call fcn.0044ef7f
add esp, 4
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x4229e0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510530
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], 1
call fcn.00424610
test al, al
je 0x422a49
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push 0x80
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x1c], 8
lea edi, [ebp + 8]
push 0x340
cmovae edi, dword [ebp + 8]
call fcn.0044f140
mov esi, eax
add esp, 4
test esi, esi
je 0x422a80
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x422a82
xor esi, esi
sub esp, 8
mov ecx, esi
push edi
call fcn.00433640
mov dword [0x57d4d4], eax
test eax, eax
je 0x422aa1
push esi
call fcn.0044ef7f
add esp, 4
jmp 0x422afc
push 8
call fcn.0044f140
mov edi, eax
add esp, 4
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
mov dword [edi], 1
mov dword [edi + 4], esi
call fcn.00434200
add esp, 4
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
cmovae eax, dword [ebp + 0x20]
cmp dword [edi], 1
je 0x422ae3
mov dword [0x57d4d4], 0x80000
jmp 0x422af5
sub esp, 8
push eax
push ecx
mov ecx, dword [edi + 4]
call fcn.00433e90
mov dword [0x57d4d4], eax
mov ecx, edi
call fcn.00434320
cmp dword [ebp + 0x1c], 8
jb 0x422b0d
push dword [ebp + 8]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x422b32
push dword [ebp + 0x20]
call fcn.0044ef7f
add esp, 4
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.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x4233d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x210], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push eax
call fcn.0045abe0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x423441
xor ecx, ecx
jmp 0x42345f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00403630
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x423480
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51067b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x10], 0
push 0x206
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call fcn.0045abe0
add esp, 0xc
lea eax, [esp + 0x2c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x2c]
push eax
push str._sAideClock_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [esp + 0x34], 7
add esp, 0xc
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0x2c], ax
jne 0x42352a
xor ecx, ecx
jmp 0x423540
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423531
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403630
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423574
test al, 0x10
je 0x423574
mov eax, 1
jmp 0x423576
xor eax, eax
test al, al
sete bl
cmp dword [esp + 0x28], 8
jb 0x42358e
push dword [esp + 0x14]
call fcn.0044ef7f
add esp, 4
test bl, bl
je 0x423610
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0x2c], ax
jne 0x4235b4
xor ecx, ecx
jmp 0x4235cf
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x4235c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4235c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403630
lea ecx, [esp + 0x14]
mov dword [esp + 0x248], 0
call fcn.00423680
mov dword [esp + 0x248], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x423610
push dword [esp + 0x14]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [esp + 0x2c], ax
jne 0x42362e
xor ecx, ecx
jmp 0x423644
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423635
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00403630
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x423680
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5106ea
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x48], ebx
cmp dword [ecx + 0x10], ebx
jne 0x4236ba
xor al, al
jmp 0x4237dd
mov edx, ecx
lea ecx, [ebp - 0x28]
call fcn.00423ae0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 3
jb 0x42372a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4236ec
test al, 0x10
jne 0x42372a
push 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00423800
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ebx, 1
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push dword [eax + 0x10]
mov dword [ebp - 0x48], ebx
push ecx
mov ecx, eax
call fcn.00406310
mov byte [ebp - 0x41], 0
test eax, eax
jne 0x42372e
mov byte [ebp - 0x41], 1
mov dword [ebp - 4], 0
test bl, 1
je 0x42374e
and ebx, 0xfffffffe
cmp dword [ebp - 0x2c], 8
jb 0x42374e
push dword [ebp - 0x40]
call fcn.0044ef7f
add esp, 4
cmp byte [ebp - 0x41], 0
je 0x42375a
mov byte [ebp - 0x41], 1
jmp 0x4237c9
push 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00423800
add esp, 4
mov byte [ebp - 4], 2
or ebx, 2
mov ecx, eax
mov dword [ebp - 0x48], ebx
call fcn.00423680
test al, al
je 0x42379b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 0x41], 1
test eax, eax
jne 0x42379f
mov byte [ebp - 0x41], 0
test bl, 2
je 0x4237c9
cmp dword [ebp - 0x2c], 8
jb 0x4237b5
push dword [ebp - 0x40]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
jb 0x4237da
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x4242e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5107a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00424450
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00406790
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp word [esi], ax
jne 0x42434e
xor ecx, ecx
jmp 0x424362
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424353
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.00403630
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor esi, esi
push 2
push esi
push eax
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4243a8
cmp dword [ebp - 0x34], 8
jb 0x4243a4
push dword [ebp - 0x48]
call fcn.0044ef7f
add esp, 4
xor esi, esi
jmp 0x4243f1
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 8
jb 0x4243f1
push dword [ebp - 0x48]
call fcn.0044ef7f
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x424402
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x424427
push dword [ebp + 8]
call fcn.0044ef7f
add esp, 4
mov eax, esi
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.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x4244d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5107d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 0x535d6c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403630
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push esi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4245cc
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4245c3
cmp dword [ebp - 0x34], 1
jne 0x4245cc
mov esi, dword [ebp - 0x30]
add esi, 2
push esi
call fcn.00451025
push esi
mov ebx, eax
push 0
push ebx
call fcn.0045abe0
add dword [ebp - 0x30], 2
lea eax, [ebp - 0x30]
add esp, 0x10
push eax
push ebx
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4245c3
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403570
push ebx
call fcn.0044f7e4
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00406bb0
cmp dword [ebp - 0x14], 8
jb 0x4245e8
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x4253c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x22c], esi
test esi, esi
je 0x4255e4
cmp byte [esi], 0
je 0x4255e4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4255e4
push ebx
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x218]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x64
cmovne ecx, edx
mov dword [ebp - 0x228], 0
xor edi, edi
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x4255c5
jmp 0x425480
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0045abe0
push edi
lea eax, [ebp - 0x108]
push str._04u
push eax
call fcn.00457000
add esp, 0x18
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42558d
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x425521
push dword [ebp - 0x210]
call ebx
jmp 0x42558d
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42553d
push dword [ebp - 0x210]
call ebx
jmp 0x42558d
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x21c], 4
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x210]
mov esi, eax
call ebx
test esi, esi
je 0x4255b9
mov esi, dword [ebp - 0x22c]
inc edi
cmp edi, dword [ebp - 0x218]
jb 0x425480
push dword [ebp - 0x214]
call ebx
mov eax, dword [ebp - 0x228]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
push dword [ebp - 0x214]
call ebx
mov eax, dword [ebp - 0x228]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x425600
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x10]
push eax
push 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
call ebx
cmp eax, 0x6f
je 0x425642
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x10]
call fcn.00451025
mov edi, eax
add esp, 4
test edi, edi
jne 0x425664
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x10]
mov esi, edi
push eax
push edi
call ebx
test eax, eax
je 0x42568e
push edi
call fcn.0044f7e4
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x425735
cmp eax, 8
ja 0x425735
lea ecx, [esi + 8]
mov ebx, eax
call fcn.004253c0
shr eax, 2
test al, 1
je 0x425735
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.00457000
xor eax, eax
mov dword [ebp - 0x14], 6
add esp, 0x20
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [esi + 0x1d8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.IPHLPAPI.DLL_SendARP]
test eax, eax
je 0x425741
mov esi, dword [esi]
test esi, esi
jne 0x425690
jmp 0x425776
movzx eax, byte [ebp - 7]
mov ecx, dword [ebp - 0x18]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
push str._02X_02X_02X_02X_02X_02X
push ecx
mov dword [ecx], 0
call fcn.00457000
add esp, 0x20
push edi
call fcn.0044f7e4
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x425c60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510ab3
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], edi
je 0x425cce
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x425cce
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x425cfe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebp + 0x1c], 0x10
jb 0x425ce1
push dword [ebp + 8]
call fcn.0044ef7f
add esp, 4
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.0044ed21
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x570]
call fcn.0042ca50
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push str.Ag__NNTcbvMPH9l8Lum_zj_sPPWFnJwa
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 3
call fcn.0042cf60
test eax, eax
je 0x425e27
lea edx, [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.0042e620
push eax
lea ecx, [ebp - 0x40]
call fcn.00408760
lea ecx, [ebp - 0x58]
call fcn.00406cf0
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00406dc0
lea ecx, [ebp - 0x570]
call fcn.0042cfb0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x570]
call fcn.0042ce20
push eax
lea ecx, [ebp - 0x28]
call fcn.00408760
lea ecx, [ebp - 0x58]
call fcn.00406cf0
cmp dword [ebp - 0x18], 0
je 0x425e27
lea esp, [esp]
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00423e10
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x425dd7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00450df3
add esp, 8
test eax, eax
sete al
cmp dword [ebp - 0x44], 8
mov byte [ebp - 0x571], al
jb 0x425e09
push dword [ebp - 0x58]
call fcn.0044ef7f
mov al, byte [ebp - 0x571]
add esp, 4
test al, al
jne 0x425e21
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x425dc0
jmp 0x425e27
mov edi, dword [ebp - 0x280]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x425e3f
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x425e62
push dword [ebp - 0x40]
call fcn.0044ef7f
add esp, 4
lea ecx, [ebp - 0x570]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
call fcn.0042cc00
jmp 0x425cd0
Function at 0x427430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0xa54], ebx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xa60], 0
push eax
push 0x535d6c
lea ecx, [ebp - 0xa50]
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
call fcn.00403630
mov dword [ebp - 4], 0
test ebx, ebx
je 0x42759e
lea eax, [ebp - 0xa5c]
mov dword [ebp - 0xa5c], 0
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x42759e
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x42759e
push edi
push ebx
push dword [ebp - 0xa5c]
push dword [ebp - 0xa54]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x427597
lea eax, [ebp - 0xa58]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa58], 0
push eax
push 0x536438
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x427597
cmp dword [ebp - 0xa58], 0
je 0x427597
xor eax, eax
push 0xa26
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.0045abe0
mov ecx, dword [ebp - 0xa54]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0xa38]
push 0x559d48
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0xa38]
lea ecx, [ebp - 0xa50]
push eax
call fcn.00403570
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xa50]
mov ecx, esi
push eax
call fcn.00406bb0
cmp dword [ebp - 0xa3c], 8
jb 0x4275c3
push dword [ebp - 0xa50]
call fcn.0044ef7f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret