joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407000
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 1
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00406c40
add esp, 8
movzx edx, al
test edx, edx
jne 0x407031
mov byte [ebp - 1], 0
jmp 0x407171
mov ecx, dword [ebp + 0xc]
call fcn.00407af0
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.00407af0
xor edx, edx
div dword [ebp - 0xc]
test edx, edx
je 0x40705b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.00407af0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407270
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
push 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00407440
mov eax, 0x3e8
xor edx, edx
div dword [ebp - 0xc]
mov eax, 0x3e8
sub eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x4070c1
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x14], 0
jne 0x40715d
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jg 0x4070e6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x407121
mov ecx, dword [ebp + 0xc]
call fcn.00407af0
sub eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406d90
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x20], eax
jmp 0x407146
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406d90
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jne 0x407158
mov byte [ebp - 1], 0
jmp 0x40715d
jmp 0x4070b8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407a30
xor ecx, ecx
jne 0x407011
lea edx, [ebp + 8]
push edx
call fcn.00406f30
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x407df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.004080c0
add esp, 4
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x200
push 1
lea edx, [ebp - 0x220]
push edx
call fcn.005eb5b4
add esp, 0x10
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
jbe 0x407e86
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.00408100
add esp, 0xc
jmp 0x407e3e
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00408220
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.00404a10
mov dword [ebp - 4], 0
mov dword [ebp - 0x2d4], 0
jmp 0x407ec6
mov edx, dword [ebp - 0x2d4]
add edx, 1
mov dword [ebp - 0x2d4], edx
cmp dword [ebp - 0x2d4], 0x10
jae 0x407f1a
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
sar ecx, 4
push ecx
call fcn.00409b90
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407740
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
push ecx
call fcn.00409b90
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407740
jmp 0x407eb7
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404820
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00404bf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret

Function at 0x4080c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret
Function at 0x43ccb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657c58
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x43ccf0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43ccfc
mov al, 1
jmp 0x43ce9f
mov dword [ebp - 0x48], 8
call fcn.004353a0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004353a0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00435400
add esp, 8
movzx eax, al
test eax, eax
je 0x43cd3f
xor al, al
jmp 0x43ce9f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00425020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406b40
mov ecx, eax
call fcn.00428850
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00407af0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b40
mov ecx, eax
call fcn.00428850
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.0043e7d0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43cdba
cmp dword [ebp - 0x38], 1
je 0x43cdc1
cmp dword [ebp - 0x38], 3
je 0x43ce5b
jmp 0x43ce73
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406b40
mov ecx, eax
call fcn.00428850
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x43ce24
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b40
mov ecx, eax
call fcn.00428850
push eax
call fcn.0060e76c
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43ce24
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404bf0
mov al, byte [ebp - 0x2d]
jmp 0x43ce9f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43ce47
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404bf0
mov al, byte [ebp - 0x2e]
jmp 0x43ce9f
cmp dword [ebp - 0x34], 0
jne 0x43ce59
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00406590
jmp 0x43ce8b
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404bf0
mov al, byte [ebp - 0x2f]
jmp 0x43ce9f
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404bf0
mov al, byte [ebp - 0x30]
jmp 0x43ce9f
jmp 0x43cd52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x43f360
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x43f378
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0x43f381
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409bd0
push eax
movzx ecx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43f3a1
xor al, al
jmp 0x43f3ad
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + 0x10]
mov word [edx], ax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x440d90
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0x67bdac
mov ecx, dword [ebp - 4]
call fcn.00440dd0
mov esp, ebp
pop ebp
ret
Function at 0x451d10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x451d3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x451d3f
xor al, al
jmp 0x451d41
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x451f80
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6594ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2a9], 1
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00446de0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b0], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00462e90
lea ecx, [ebp - 0x28]
call fcn.0044da70
movzx ecx, al
test ecx, ecx
jne 0x45201d
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ef50
mov ecx, eax
call fcn.00448040
movzx eax, word [eax]
cmp eax, 0x5c
je 0x45201d
push 0x67d5a0
lea ecx, [ebp - 0x28]
call fcn.00448350
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00462e90
push 0x67d5a4
lea ecx, [ebp - 0x58]
call fcn.00448350
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x58]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x452105
push 0x67d5f0
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x45208d
push 0x67d5f4
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x45208f
jmp 0x45210e
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x4520a3
mov byte [ebp - 0x2a9], 0
jmp 0x45212a
lea ecx, [ebp - 0x40]
call fcn.00446de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00462e90
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00448350
movzx eax, byte [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00451f80
add esp, 8
movzx edx, al
test edx, edx
jne 0x4520f7
mov byte [ebp - 0x2a9], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
jmp 0x45212a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
jmp 0x45210e
mov byte [ebp - 0x2a9], 0
jmp 0x45212a
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x452052
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x2a9]
mov byte [ebp - 0x2aa], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov al, byte [ebp - 0x2aa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x452e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659643
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005ddad0
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x452f43
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x452f22
push 0x67da64
lea ecx, [ebp - 0x230]
call fcn.00446d70
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004600c0
add esp, 0xc
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043c8a0
mov eax, dword [ebp + 8]
jmp 0x452f62
push 0x67daf4
mov ecx, dword [ebp + 8]
call fcn.00446d70
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x452f62
push 0x67dca0
mov ecx, dword [ebp + 8]
call fcn.00446d70
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x453390
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659705
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
mov eax, dword [0x67bf0c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00462e90
mov edx, dword [0x67bf0c]
push edx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.004693f0
mov dword [ebp - 0x50], eax
mov eax, dword [0x67bf0c]
cmp eax, dword [ebp - 0x50]
je 0x453430
mov ecx, dword [ebp - 0x50]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ffd0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447ac0
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
push ecx
push 0x6a3e28
push 1
push 0
push 0x6aeca8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x45345e
jmp 0x45350a
lea edx, [ebp - 0x48]
push edx
push 0x6a8d78
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x453482
jmp 0x45350a
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov ecx, dword [ebp + 0x14]
call fcn.0043d500
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp + 0x10]
call fcn.0043d500
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x24]
call ecx
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov ecx, dword [ebp + 0xc]
call fcn.0043d500
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
je 0x45351e
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x44], 0
je 0x453532
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x456290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov cx, word [ebp + 0x24]
mov word [ebp - 0x38], cx
movzx edx, word [ebp + 0x24]
test edx, edx
jne 0x4562d6
mov eax, dword [ebp + 0x28]
or eax, 0x8000000
mov dword [ebp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x4562e4
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jmp 0x4562ea
lea edx, [ebp - 0x24]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x2c]
call fcn.0044da70
movzx eax, al
test eax, eax
je 0x456302
mov dword [ebp - 0xc], 0
jmp 0x45630d
mov ecx, dword [ebp + 0x2c]
call fcn.0043d500
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x28]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.0043d500
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45636d
cmp dword [ebp + 8], 0
jne 0x45636d
movzx edx, byte [ebp + 0x30]
test edx, edx
je 0x456359
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x45637c
mov dword [ebp - 0x14], 1
jmp 0x456383
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 1], al
lea ecx, [ebp + 0xc]
call fcn.0043c8a0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4564c0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x4564d6
or eax, 0xffffffff
jmp 0x456581
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp dword [ebp - 0xc], 0
jbe 0x45657e
mov edx, dword [ebp - 0xc]
push edx
call fcn.005ed028
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45657e
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x456572
mov dword [ebp - 8], 0
jmp 0x45653a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jae 0x456572
imul edx, dword [ebp - 8], 0x38
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 4], 0
jne 0x456570
imul ecx, dword [ebp - 8], 0x38
mov edx, dword [ebp - 4]
lea esi, [edx + ecx + 4]
mov ecx, 0xe
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 1
jmp 0x456572
jmp 0x456531
mov eax, dword [ebp - 4]
push eax
call fcn.005ed023
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x456a40
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp dword [ebp - 0x10], 0
jbe 0x456ae1
mov edx, dword [ebp - 0x10]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x456ae1
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x456ad7
mov dword [ebp - 0xc], 0
jmp 0x456aa7
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jae 0x456ad7
imul edx, dword [ebp - 0xc], 0x38
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 4], 0
jne 0x456ad5
imul ecx, dword [ebp - 0xc], 0x38
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 0x10]
mov dword [edx], ecx
mov byte [ebp - 1], 1
jmp 0x456ad7
jmp 0x456a9e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x456bd0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 1], 0
push 0x288
call fcn.005ed028
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456bf7
xor al, al
jmp 0x456ca8
mov dword [ebp - 0x10], 0x288
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x456c35
mov edx, dword [ebp - 8]
push edx
call fcn.005ed023
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.005ed028
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456c35
xor al, al
jmp 0x456ca8
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x456c93
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456c93
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x1b0
push edx
call fcn.0045fd10
add esp, 8
movzx eax, al
test eax, eax
je 0x456c89
mov ecx, dword [ebp - 0xc]
add ecx, 8
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004279c0
mov byte [ebp - 1], 1
jmp 0x456c93
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x456c51
cmp dword [ebp - 8], 0
je 0x456ca5
mov ecx, dword [ebp - 8]
push ecx
call fcn.005ed023
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4586d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659f7f
mov eax, dword fs:[0]
push eax
sub esp, 0xa5c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x67cb1c]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0xa48], 0x104
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0x400
lea edx, [ebp - 0xa68]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0xa58]
push edx
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0xa60]
push edx
lea eax, [ebp - 0xa44]
push eax
push 0
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
jne 0x458888
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa38], 0
jmp 0x4587c6
mov ecx, dword [ebp - 0xa34]
add ecx, 1
mov dword [ebp - 0xa34], ecx
mov edx, dword [ebp - 0xa34]
cmp edx, dword [ebp - 0xa4c]
jae 0x458888
mov dword [ebp - 0xa40], 0x400
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 0x800
jae 0x4587fe
jmp 0x458803
call fcn.005c4e63
xor edx, edx
mov eax, dword [ebp - 0xa3c]
mov word [ebp + eax - 0xa18], dx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa40]
push ecx
lea edx, [ebp - 0xa18]
push edx
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
jne 0x458883
lea edx, [ebp - 0xa18]
push edx
lea ecx, [ebp - 0xa30]
call fcn.00446d70
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa30]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ee80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.0043c8a0
jmp 0x4587b7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret