joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x3c]
movzx esi, word [ebx]
mov dword [esp + 4], 0x21264d53
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x4498b6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044b7c0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x449890
xor eax, eax
cmp dword [esp + 4], esi
setne al
xor esi, esi
jmp dword [eax*4 + 0x4550a4]
mov edi, dword [ebx + 0x3c]
mov ebx, dword [ebx + edi]
mov dword [esp + 4], 0xf3f2bca0
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x449916
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044b810
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x4498f0
xor eax, eax
cmp ebx, dword [esp + 4]
setne al
mov edx, dword [esp + 0x3c]
jmp dword [eax*4 + 0x4550ac]
mov ebx, dword [edx + edi + 0x78]
mov edi, dword [edx + edi + 0x7c]
test edi, edi
sete al
test ebx, ebx
sete cl
or cl, al
movzx eax, cl
jmp dword [eax*4 + 0x4550b4]
mov eax, dword [edx + ebx + 0x20]
add eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov esi, ebx
mov dword [esp + 0x14], edi
mov eax, dword [edx + ebx + 0x24]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + ebx + 0x1c]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [0x4550d8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
jmp dword [0x4550c8]
mov eax, dword [0x45511c]
nop
nop
jmp eax
Function at 0x1ed7d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c2000]
push edi
or ebp, 0xffffffff
jmp 0x1ed7d82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ed7d89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed7d78
mov eax, 1
add ebx, ebx
jne 0x1ed7d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ed7dac
jne 0x1ed7dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed7dcb
dec eax
add ebx, ebx
jne 0x1ed7db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ed7d90
add ebx, ebx
jne 0x1ed7dc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ed7e1d
xor ecx, ecx
sub eax, 3
jb 0x1ed7de3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ed7e52
sar eax, 1
mov ebp, eax
jmp 0x1ed7dee
add ebx, ebx
jne 0x1ed7dee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed7dbc
inc ecx
add ebx, ebx
jne 0x1ed7dfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed7dbc
add ebx, ebx
jne 0x1ed7e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ed7dfe
jne 0x1ed7e1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ed7dfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ed7e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ed7e2e
jmp 0x1ed7d7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ed7e3c
add edi, ecx
jmp 0x1ed7d7e
pop esi
mov edi, esi
mov ecx, 0x1216c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ed7e5a
cmp byte [edi], 0x1e
jne 0x1ed7e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1ed7e5f
lea edi, [esi + 0x1abd000]
mov eax, dword [edi]
or eax, eax
je 0x1ed7ed7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad7f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ad8108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ed7e8c
mov ecx, edi
jns 0x1ed7ebb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ad8110]
or eax, eax
je 0x1ed7ed1
mov dword [ebx], eax
add ebx, 4
jmp 0x1ed7ea9
call dword [esi + 0x1ad810c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ed7f08
cmp al, 0xef
ja 0x1ed7efb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ed7edd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ed7eea
mov ebp, dword [esi + 0x1ad8114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1ed7f3c
sub esp, 0xffffff80
jmp 0x65ed73
Function at 0x401a30
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b0af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [0x422468]
mov dword [esp + 0x20], 1
mov dword [esp + 8], eax
lea ecx, [esp + 4]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00401ed0
push 0
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x2c], 3
call fcn.00411c63
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 4
call fcn.00411c63
mov ecx, esi
mov byte [esp + 0x2c], 3
call fcn.00401770
test eax, eax
je 0x401aef
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00411c63
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00401d30
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call fcn.00411fdb
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.00411eee
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00411eee
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.00411eee
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00411eee
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
Function at 0x401b50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x41b0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
mov al, byte [0x425b00]
push ebx
push esi
mov esi, ecx
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1d]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x422468]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x830]
mov ebx, 1
cmp eax, 6
mov dword [esp + 0x824], ebx
ja case.0x401bb7.5
jmp dword [eax*4 + 0x401d10]
push 0
lea edx, [esp + 0x20]
push 0x26
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
push 0
lea eax, [esp + 0x20]
push 6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.0x401bb7.5
lea edx, [esp + 0x1c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp case.0x401bb7.5
lea eax, [esp + 0x1c]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.0041202b
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jae 0x401c6a
mov esi, dword [esp + 0x82c]
push 0x425b00
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 0x10], ebx
jmp 0x401ce0
mov byte [esp + 0x1f], 0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.0041202b
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4220d0
call fcn.00411f5c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x834], 2
call fcn.00411c63
mov ecx, esi
mov byte [esp + 0x830], bl
call fcn.004031d0
test eax, eax
jne 0x401cc9
push 0x4220d0
lea ecx, [esp + 0x10]
call fcn.0041227e
mov esi, dword [esp + 0x82c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x824], 0
call fcn.00411eee
mov ecx, dword [esp + 0x81c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x81c
ret 8
Function at 0x401ed0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
mov al, byte [0x425b00]
mov edx, ecx
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
mov ecx, edx
stosb byte es:[edi], al
call fcn.00401b50
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push 0
push 0x425b00
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 4]
call fcn.00411eee
mov eax, dword [esp + 0x114]
pop edi
test eax, eax
jne 0x401f3d
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, dword [esp + 0x110]
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00411f5c
mov eax, esi
pop esi
add esp, 0x108
ret 8

Function at 0x401f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41b192
push eax
mov eax, 0x4e30
mov dword fs:[0], esp
call fcn.004060e0
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x4e54]
mov dword [esp + 8], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov edx, dword [eax - 8]
mov dword [esp + 0x4e40], 3
cmp edx, esi
jne 0x401fc3
add ecx, 4
push ecx
lea ecx, [esp + 0x4e58]
call fcn.00411fdb
mov eax, dword [esp + 0x4e54]
cmp dword [eax - 8], esi
jne 0x401fe9
mov esi, dword [esp + 0x4e48]
push 0x425b00
mov ecx, esi
call fcn.00411f5c
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x4020c3
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push esi
push 0x20019
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x4e78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402024
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x425b00
jmp 0x4020ac
mov ecx, dword [esp + 0x4e4c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push esi
push esi
push ecx
push edx
mov dword [esp + 0x28], 0x4e20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402072
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4e48]
lea ecx, [esp + 0x4e50]
push ecx
mov ecx, esi
call fcn.00411c63
jmp 0x4020ba
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x4020a7
mov esi, dword [esp + 0x4e48]
lea eax, [esp + 0x4e50]
push eax
mov ecx, esi
call fcn.00411c63
jmp 0x4020ba
lea ecx, [esp + 0x18]
push ecx
mov esi, dword [esp + 0x4e4c]
mov ecx, esi
call fcn.00411f5c
mov ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x4e4c]
mov byte [esp + 0x4e40], 2
call fcn.00411eee
lea ecx, [esp + 0x4e50]
mov byte [esp + 0x4e40], bl
call fcn.00411eee
lea ecx, [esp + 0x4e54]
mov byte [esp + 0x4e40], 0
call fcn.00411eee
mov ecx, dword [esp + 0x4e38]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e3c
ret 0x14
Function at 0x402240
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 2
mov edx, dword [eax - 8]
test edx, edx
jne 0x40227c
add ecx, 4
push ecx
lea ecx, [esp + 0x24]
call fcn.00411fdb
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4022d7
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4022cc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 8]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402317
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411eee
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411eee
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411eee
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411eee
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x402860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b2f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0xffffffffffffffff
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x425b00
mov dword [esp + 0x30], ebx
call fcn.00411f5c
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4220d0
call fcn.00411f5c
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 3
call fcn.00411c63
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
push ecx
mov ecx, esi
call fcn.004030a0
lea ecx, [esp + 0xc]
call fcn.00411eee
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00411069
cmp eax, 0xffffffff
jne 0x40290b
mov esi, dword [esp + 0x2c]
push 0x425b00
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 8], ebx
jmp 0x402940
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00410ff1
mov esi, dword [esp + 0x2c]
push 0x4220d0
push eax
push esi
mov byte [esp + 0x30], 4
call fcn.00412137
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x24], bl
call fcn.00411eee
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00411eee
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x402df0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b3cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x18]
push edi
xor eax, eax
push ecx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edx, dword [esp + 0x1c]
push edx
call fcn.00411c2f
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov eax, dword [0x422468]
mov dword [esp + 0x18], eax
mov ebx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
lea ecx, [esi + 8]
lea edx, [esp + 0x14]
push ecx
push 0x422124
push edx
mov byte [esp + 0x38], 3
call fcn.00411411
add esp, 0xc
lea eax, [esi + 0x10c]
lea ecx, [esp + 0x10]
push eax
push 0x422124
push ecx
call fcn.00411411
xor edx, edx
add esp, 0xc
mov dl, byte [esi + 0x199]
xor eax, eax
mov al, byte [esi + 0x198]
xor ecx, ecx
mov cl, byte [esi + 0x197]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x196]
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x195]
mov cl, byte [esi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push edx
call fcn.00411411
mov eax, dword [esp + 0x58]
mov edi, dword [esi]
add esp, 0x20
test eax, eax
je 0x402f5c
test edi, edi
je 0x402f5c
lea eax, [edi + 8]
lea ecx, [esp + 0x14]
push eax
push 0x422124
push ecx
call fcn.00411411
add esp, 0xc
lea edx, [edi + 0x10c]
lea eax, [esp + 0x10]
push edx
push 0x422124
push eax
call fcn.00411411
xor ecx, ecx
add esp, 0xc
mov cl, byte [edi + 0x199]
xor edx, edx
mov dl, byte [edi + 0x198]
xor eax, eax
mov al, byte [edi + 0x197]
push ecx
push edx
xor ecx, ecx
mov cl, byte [edi + 0x196]
push eax
xor edx, edx
xor eax, eax
mov dl, byte [edi + 0x195]
mov al, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.00411411
mov edi, dword [edi]
add esp, 0x20
jmp 0x402edd
push esi
call fcn.00411c58
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebx
jne 0x402f90
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00411c63
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
mov dword [esp + 0x20], ebx
jmp 0x402fc8
cmp eax, 2
jne 0x402fb4
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00411c63
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
jmp 0x402fc4
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00411eee
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.00411eee
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4039d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b5e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], 0
mov edi, 1
mov dword [esp + 0x168], edi
mov eax, dword [0x422468]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x174]
push 0x4220d0
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x174], 3
call fcn.00412137
lea ecx, [esp + 0x178]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x174], 4
call fcn.004120d1
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411eee
cmp esi, 0xffffffff
jne 0x403a93
mov esi, dword [esp + 0x170]
push 0x425b00
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 0x1c], edi
jmp 0x403bf0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x17c]
test eax, eax
jne 0x403abf
mov edx, dword [esp + 0x20]
and edx, 0x10
cmp dl, 0x10
jne 0x403b25
lea eax, [esp + 0x20]
push eax
push esi
call ebp
mov edi, eax
jmp 0x403b73
mov ecx, dword [esp + 0x20]
and ecx, 0x10
cmp cl, 0x10
je 0x403ada
lea edx, [esp + 0x20]
push edx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.00411f5c
mov ecx, dword [esp + 0x10]
push 0x422144
push ecx
call fcn.004061ea
add esp, 8
test eax, eax
je 0x403b58
mov edx, dword [esp + 0x10]
push 0x422140
push edx
call fcn.004061ea
add esp, 8
test eax, eax
je 0x403b58
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 3
call fcn.00411eee
mov eax, dword [esp + 0x180]
push 1
push eax
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00411f5c
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004038d0
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea edx, [esp + 0x20]
push edx
push esi
call ebp
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x168], 3
call fcn.00411eee
test edi, edi
jne 0x403a99
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x184]
test eax, eax
je 0x403bd5
mov eax, dword [esp + 0x180]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00411c63
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00403520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 6
call fcn.00411fdb
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411eee
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.00411eee
lea ecx, [esp + 0x174]
mov byte [esp + 0x168], 1
call fcn.00411eee
lea ecx, [esp + 0x178]
mov byte [esp + 0x168], 0
call fcn.00411eee
mov ecx, dword [esp + 0x160]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 0x18
Function at 0x404350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esp + 0xc]
push 0
mov ecx, dword [esi + 0xc0]
push eax
mov dword [esp + 0x28], 0
call fcn.00401b50
mov ebx, 1
push 0
push 0x5c
push ebx
push ecx
mov dword [esp + 0x40], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4222b8
call fcn.00411f5c
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x48], 2
call fcn.00411c63
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x48], bl
call fcn.004039d0
push 0x4220d0
push 0
push 0x5c
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 3
call fcn.00411c63
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x2c]
push eax
call fcn.00402d00
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x40], 4
call fcn.004120d1
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 5
call fcn.00412137
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call fcn.00411fdb
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00411eee
push ebx
push 0
push 0
push ebx
mov ecx, dword [esi + 0xc0]
push 0
call fcn.004038a0
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00403770
mov edi, eax
mov ecx, dword [esi + 0xc0]
push 0
push ebx
push 0
push 7
push 5
mov byte [esp + 0x44], 7
call fcn.004038a0
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00403770
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 8
call fcn.004120d1
push edi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3c], 9
call fcn.004120d1
mov esi, dword [esp + 0x38]
push str..exe
push eax
push esi
mov byte [esp + 0x3c], 0xa
call fcn.00412137
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 9
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call fcn.00411eee
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 7
call fcn.00411eee
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call fcn.00411eee
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00411eee
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00411eee
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4