joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404960
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b738
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x451550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00405100
mov byte [ebp - 4], 2
push 0x2001f
push 0x447060
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.00404d90
test eax, eax
jne 0x4049d3
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.00403210
push eax
lea ecx, [ebp + 8]
call fcn.00403210
push eax
lea ecx, [ebp - 0x18]
call fcn.00404e30
lea ecx, [ebp - 0x18]
call fcn.00405090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004050e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x404ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x404ba9
cmp dword [ebp + 0xc], 0
je 0x404bbc
mov dword [ebp - 0xc], 1
jmp 0x404bc3
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x404bd6
mov eax, 0xd
jmp 0x404c25
xor edx, edx
jne 0x404bad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x404be9
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x404c39
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404c7a
mov eax, dword [ebp - 8]
jmp 0x404cdd
cmp dword [ebp - 0xc], 1
je 0x404c8d
cmp dword [ebp - 0xc], 2
je 0x404c8d
mov eax, 0xd
jmp 0x404cdd
cmp dword [ebp + 0xc], 0
je 0x404cd3
cmp dword [ebp - 4], 0
je 0x404cc4
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x404cbb
mov edx, dword [ebp - 4]
shr edx, 0
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx - 1]
test ecx, ecx
je 0x404cc2
mov eax, 0xd
jmp 0x404cdd
jmp 0x404cd3
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x404e48
mov dword [ebp - 0xc], 1
jmp 0x404e4f
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x404e55
cmp dword [ebp - 0x14], 0
jne 0x404e69
push 0x80004005
call fcn.00404540
xor edx, edx
jne 0x404e39
xor eax, eax
jne 0x404e6d
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x404e86
cmp dword [ebp + 0x14], 0xffffffff
jne 0x404e86
mov eax, 0x57
jmp 0x404efb
cmp dword [ebp + 0x14], 0xffffffff
jne 0x404ebf
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x404e9b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp + 0x14], ecx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x404ed0
mov dword [ebp - 0x10], 7
jmp 0x404ed7
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405fb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x451550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403a50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004041b0
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00406280
movsx ecx, al
cmp ecx, 0x5c
je 0x40600e
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00406ca0
lea ecx, [ebp - 0x3c]
call fcn.004062c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403c10
mov byte [ebp - 4], 2
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x18], 0
jmp 0x40603c
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x14]
call fcn.004041b0
cmp dword [ebp - 0x18], eax
jge 0x40608f
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406280
movsx ecx, al
cmp ecx, 0x5c
je 0x406077
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00406280
movzx eax, al
push eax
lea ecx, [ebp - 0x20]
call fcn.00406ca0
jmp 0x40608d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00406320
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00406ca0
jmp 0x406033
lea ecx, [ebp - 0x1c]
call fcn.00406430
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402f60
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x4060b8
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406450
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004062f0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406480
movzx eax, al
test eax, eax
je 0x406102
push 0
lea ecx, [ebp - 0x1c]
call fcn.00403210
mov ecx, eax
call fcn.00403210
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4060f6
mov byte [ebp - 0xd], 1
jmp 0x4060fa
mov byte [ebp - 0xd], 0
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xe], cl
jmp 0x4060aa
movzx edx, byte [ebp - 0xe]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403db0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4061f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x406218
xor eax, eax
jmp 0x406276
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x406247
xor eax, eax
jmp 0x406276
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x10], 0
jne 0x406271
xor eax, eax
jmp 0x406276
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40dd30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x40dd40
xor eax, eax
jmp 0x40dedd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x40de9e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x447db0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x447db0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x447db0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x447db0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x447db0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x447db0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x447db0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x447db0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x40dd49
cmp dword [ebp + 0x10], 0
je 0x40ded7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x447db0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x40dea4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x40dee0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x447db0]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x447db0]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x40efd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x40f01f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40f015
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x40f079
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x40f03f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042c2c0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x410930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x41094b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
je 0x410955
mov eax, 0x1000000
jmp 0x410a70
mov edx, dword [ebp - 8]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 8]
add eax, 0x140
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 2], al
add dword [ebp - 0xc], 1
cmp byte [ebp - 2], 0
jne 0x41097e
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 0x13f]
mov byte [ebp - 1], al
movsx ecx, byte [ebp - 1]
cmp ecx, 0x5c
je 0x4109e4
movsx edx, byte [ebp - 1]
cmp edx, 0x2f
je 0x4109e4
mov eax, dword [ebp - 8]
add eax, 0x13f
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 1]
mov byte [ebp - 3], dl
add dword [ebp - 0x10], 1
cmp byte [ebp - 3], 0
jne 0x4109c5
mov edi, dword [ebp - 0x10]
mov ax, word [0x4479f8]
mov word [edi], ax
cmp dword [ebp + 0x10], 1
jne 0x410a28
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x410a0c
mov dword [ebp - 0x14], 1
jmp 0x410a13
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 4], dl
movzx eax, byte [ebp - 4]
test eax, eax
jne 0x410a28
mov eax, 0x2000000
jmp 0x410a70
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040eca0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x410a4e
mov eax, dword [ebp - 0x28]
jmp 0x410a70
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040f390
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x410a6e
mov eax, 0x200
jmp 0x410a70
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412d30
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x451550]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x412d8b
cmp dword [ebp - 0x30], 0x6f
je 0x412d8b
xor eax, eax
jmp 0x412e61
mov edx, dword [ebp - 0x2c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x412da7
xor eax, eax
jmp 0x412e61
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x412dca
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x412e61
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp + 8]
push eax
call fcn.004039e0
add esp, 0x20
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426ce7
mov esp, ebp
pop ebp
ret
Function at 0x412ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
pushal
mov ebx, dword fs:[0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
popal
cmp dword [ebp - 8], 5
jne 0x412f3c
cmp dword [ebp - 0xc], 0
jne 0x412f3c
push str.415623
mov ecx, dword [ebp + 8]
call fcn.00404760
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x413029
cmp dword [ebp - 8], 5
jne 0x412f6b
cmp dword [ebp - 0xc], 1
jne 0x412f6b
push 0x4497a0
mov ecx, dword [ebp + 8]
call fcn.00404760
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x413029
cmp dword [ebp - 8], 5
jne 0x412f97
cmp dword [ebp - 0xc], 2
jne 0x412f97
push 0x4497a4
mov ecx, dword [ebp + 8]
call fcn.00404760
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x413029
cmp dword [ebp - 8], 6
jne 0x412fc0
cmp dword [ebp - 0xc], 0
jne 0x412fc0
push 0x4497a8
mov ecx, dword [ebp + 8]
call fcn.00404760
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x413029
cmp dword [ebp - 8], 6
jne 0x412fe9
cmp dword [ebp - 0xc], 1
jne 0x412fe9
push 0x4497ac
mov ecx, dword [ebp + 8]
call fcn.00404760
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x413029
cmp dword [ebp - 8], 6
jne 0x413010
cmp dword [ebp - 0xc], 2
jne 0x413010
push 0x4497b0
mov ecx, dword [ebp + 8]
call fcn.00404760
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x413029
push 0x4497b4
mov ecx, dword [ebp + 8]
call fcn.00404760
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413430
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bf26
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.0042b260
mov eax, dword [0x451550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1118]
call fcn.00404760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1118]
call fcn.00405c40
lea ecx, [ebp - 0x112c]
push ecx
push 0x1000
lea edx, [ebp - 0x1114]
push edx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4134c4
mov dword [ebp - 0x1140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00403db0
mov eax, dword [ebp - 0x1140]
jmp 0x413678
mov eax, dword [ebp - 0x112c]
shr eax, 2
mov dword [ebp - 0x113c], eax
mov cl, byte [0x446e92]
mov byte [ebp - 0x114], cl
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.00428830
add esp, 0xc
lea ecx, [ebp - 0x111c]
call fcn.00403c10
mov byte [ebp - 4], 1
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
jmp 0x413529
mov eax, dword [ebp - 0x1124]
add eax, 1
mov dword [ebp - 0x1124], eax
mov ecx, dword [ebp - 0x1124]
cmp ecx, dword [ebp - 0x113c]
jae 0x413645
mov edx, dword [ebp - 0x1124]
mov eax, dword [ebp + edx*4 - 0x1114]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1120], eax
cmp dword [ebp - 0x1120], 0
je 0x413640
lea ecx, [ebp - 0x1144]
push ecx
push 4
lea edx, [ebp - 0x1134]
push edx
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x413633
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1134]
push edx
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x111c]
call fcn.00404740
lea ecx, [ebp - 0x111c]
call fcn.00405c40
push 0
lea ecx, [ebp - 0x111c]
call fcn.00403210
push eax
lea ecx, [ebp - 0x1118]
call fcn.00402bb0
cmp eax, 0xffffffff
je 0x413633
mov dword [ebp - 0x1128], 1
mov edx, dword [ebp - 0x1120]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1138], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x111c]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00403db0
mov eax, dword [ebp - 0x1138]
jmp 0x413678
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41351a
mov ecx, dword [ebp - 0x1128]
mov dword [ebp - 0x1130], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x111c]
call fcn.00403db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00403db0
mov eax, dword [ebp - 0x1130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426ce7
mov esp, ebp
pop ebp
ret