joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442e90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47fcc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004731b0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00478848
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00479d64
test eax, eax
je 0x442fac
mov ecx, dword [esp + 0x3c]
call fcn.00478875
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442f70
push edi
mov ecx, esi
call fcn.00475eda
mov ecx, esi
call fcn.00443110
cmp dword [esp + 0x38], 1
jne 0x442fa5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00476015
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4459d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445a03
push esi
call fcn.00448ae0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4459fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445a89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445a72
mov eax, dword [esi + 8]
test eax, eax
je 0x445a27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x445a6e
cmp eax, 2
je 0x445a72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445a1a
cmp eax, 3
je 0x445a4d
cmp eax, 1
jne 0x445a1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x445a1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x445a1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445ab0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445a98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445ab0
add esp, 4
pop esi
ret
Function at 0x457a30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x457a7c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x457a7c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x457a66
push eax
call ebp
test ax, ax
jl 0x457a74
inc esi
add edi, 4
cmp esi, 6
jb 0x457a58
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00457730
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45b7b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45b810
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45b810
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45b810
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45b810
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45b820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x45d750
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45d7f3
test eax, eax
jbe 0x45d7f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45d7f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45d79e
xor esi, esi
jmp 0x45d7a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45d7cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00409730
add esi, eax
push esi
mov ebx, esi
call fcn.00409730
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45d7b0
pop ebp
test edi, edi
pop edi
jne 0x45d7f3
test ebx, ebx
je 0x45d7f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00462a20
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x45d935
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45da4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45da4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00473602
mov esi, eax
test esi, esi
je 0x45da4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45da4d
mov ecx, esi
call fcn.0045d8a0
cmp edi, eax
jge 0x45da4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45d9d3
mov dword [esp + 0x34], 1
jmp 0x45da2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45da4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045cea0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x473fa5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473fdd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00472032
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047200a
jmp 0x473fe9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475697
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4756d9
call fcn.0047b2da
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4756d9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4756d0
xor eax, eax
jmp 0x4756e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004756e7
pop edi
pop esi
pop ebx
ret 4

Function at 0x47b80a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47b838
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b856
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b770
jmp 0x47b856
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47b856
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047b770
test edi, edi
mov eax, edi
jne 0x47b840
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret
Function at 0x590cb8
Capabilities:
Encode data using xor

Disassembly:
push 0x44b21096
lea esp, [esp + 8]
jne 0x616e22
sal ax, 1
pushfd
xor edx, edx
xor ah, dl
mov eax, edx
not al
sbb al, dl
add edi, 1
sets al
bt si, 5
add al, 0xdd
mov al, byte [edi]
push esp
test al, al
mov word [esp], 0xee1e
lea esp, [esp + 8]
ja 0x542218
pushfd
lea esp, [esp + 4]
and al, 4
je 0x616e1e
call fcn.006397b1
out 0x3a, eax
xor eax, 0xd39ff8fa
salc
loope 0x590cf9
add ecx, dword [ecx]
xor al, 0x45
push 0xe5dd8a85
and byte [eax + 0x35], al
out dx, al
jecxz 0x590d1f
xor eax, 0x1fce3ee
dec ecx
add dword [esi], esp
dec ecx
ljmp 0x4349:0xf6e9d03c

Function at 0x591810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [edi + ecx*4]
cmp dl, 0x3e
stc
call fcn.00542096
test ah, ah
push dword [esp]
jmp 0x591890
pop edi
mov dl, 0xb5
invalid
mov dword [esp + 0x20], ebx
lea esp, [esp + 0x20]
je 0x616e63
pushfd
lea esp, [esp + 4]
call fcn.0061b974
pushal
call fcn.005917fe
shl byte [ebx], 1
dec esp
add eax, 0xdcbf9ff9
out 0, eax
sbb ebp, dword [eax]
adc eax, 0x145f2205
pop ss
push 0x65
dec esp
dec esp
mov ebx, 0x4efbe6e6
sahf
mov ah, 0xd6
jae 0x591810
js 0x5917d0
inc edi
dec esi
arpl word [edi + eax*4 - 0x70], si
xchg ebp, eax
xchg esi, eax
movsd dword es:[edi], dword [esi]
clc
scasb al, byte es:[edi]
sub byte [esi - 0xd], ah
or eax, 0x65213144
push 0xa6220abb
pop ecx
pop ds
and dh, byte [ebp - 0x7f]
movsb byte es:[edi], byte [esi]
invalid
pushfd
lea esp, [esp + 0x34]
jne 0x616e26
pushal
mov dword [esp + 0x1c], edi
push ecx
call 0x591810
push esi
test eax, 0x9ff904c6
inc edx
pop ebx
pop esp
popal
jp 0x591841
scasb al, byte es:[edi]
leave
rcr cl, 1
call 0x62681db4
xor eax, 0x1a554f8f
or al, 0xf
sbb al, byte [ebp - 0x68]
cmp dword [ebp + 0x2f8e8c01], esi
mov ecx, 0xebaea194
fucom st(6)
loopne 0x591907
mov al, 0x18
mov al, byte [0x7fb0b98b]
mov ebx, 0xfdf80837
and dh, byte [ebp + 0x14]
cmp dword [ebx + eax - 0x40be39c1], 0x12
lcall 0xc6d6, 0x9164e1cb
sbb dword [edx - 0xf], edx
pop es
invalid
dec eax
inc edx
idiv edx
dec ebp
scasb al, byte es:[edi]
invalid
dec eax
push cs
and ebp, ebp
cld
dec edi
sub al, 0x2c
invalid
and ebx, dword [esi - 0x77]
mov al, 0xe1
push ds
jno 0x616df1
pop esi
scasd eax, dword es:[edi]
fcomi st(3)
call 0x20c29b1d
pushfd
call fcn.0061c6c0
xchg ecx, eax
in al, 0x8b
pop ebx
add dword [eax + 0x3c2d2c15], esp
inc edi
jge 0x616e0d
mov bl, 0xc8
aad 0xdc
out dx, eax
daa
jp 0x616ee4
enter 0x45fc, 0xffffffffffffffa2
stosd dword es:[edi], eax
mov ah, 0xdd
add al, 0xa5
xor ecx, dword [edx]
unpcklps xmm4, xmmword [edi + 0x38]
invalid
in al, 0xd
cmp bl, byte [ebx - 0x52]
lahf
mov dh, 0xe4
mov edi, 0x4c1de2cd
invalid

Function at 0x610e4c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec al
clc
cmc
cmp dx, bp
xor al, 0xa9
clc
mov byte [esp + 8], 0xef
rol al, 5
test ax, sp
cmp bh, bl
pushal
cmp cl, 0x91
not al
test dl, ah
mov byte [ecx], al
stc
clc
add ecx, 1
clc
cmp si, bp
cmp cl, dl
jmp 0x53c9a0
Function at 0x61b2f9
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x20]
jne 0x53c98a
movsx ax, dl
lea eax, [ebx*4 - 0xbc4e55c]
mov eax, dword [edx + 8]
pushal
lea esp, [esp + 0x20]
jmp fcn.0060eed0
push dword [esp + 8]
lea esp, [esp + 0x24]
call fcn.0061a6ae
jmp 0x53cbf2
movsx di, bl
lea esi, [esi + edx + 0x1c]
bswap di
mov edi, dword [ebp + 8]
jmp 0x61c607
xor eax, 0x8affff5c
fst qword [edx + 0x79a0019e]
sbb byte [ebp - 0x2e3d445e], 0xda
in eax, dx
invalid
inc eax
jae 0x61b26e
mov dword [esi], 0xec996e37
popal
insd dword es:[edi], dx
adc al, 0xf6
xor byte [edx + 0x7b], 0xb8
fnstcw word [esi - 0x73]
lea esp, [esp + 0x48]
je 0x60eeaa
lea esi, [esi + edx + 0x1c]
lea edi, [esp + 0x2c058a7f]
mov edi, dword [ebp + 8]
call fcn.006384cd
lea esp, [esp + 4]
je 0x58a649
seta ch
shr cl, cl
add edx, eax
and cl, 0xda
cmc
movzx cx, bl
bswap ecx
mov ecx, dword [esi + 0x7c]
pushfd
cmc
pushfd
add ecx, edx
pushal
cmp dl, 0x1b
call fcn.0061c94c
mov edi, 0x1a05d12
mov al, byte [0x70615443]
jns 0x61b2c9
lodsd eax, dword [esi]
invalid
pushal
jmp 0x53e3cc

Function at 0x638713
Capabilities:
Encode data using xor

Disassembly:
bt dx, 0xe
xor ah, dh
mov ah, byte [esi]
cmp ecx, 0x58be6ce2
push edx
cmp ah, 0x41
call fcn.0058a71a
ret 0x5a15
lea esp, [esp + 8]
ja 0x53f916
pushal
sal ah, 1
sub ah, dl
or ah, cl
add al, 0x20
or ah, bh
sbb ah, 0x7e
cmc
rol ah, 5
mov ah, byte [esi]
pushfd
cmp cl, ah
cmc
cmp ah, 0x41
pushal
lea esp, [esp + 0x44]
jb 0x60f5b9
push 0xae4b5753
cmp edi, 0x4425c427
pushal
cmp ah, 0x5a
pushfd
mov byte [esp], 0xe1
call fcn.0060ce0d
Function at 0x520091
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00520241
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x52018f
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x520132
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x520175
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x520149
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x520164
test al, 0x40
je 0x52015b
mov ecx, dword [edi + 0x20]
jmp 0x520162
test al, 0x80
je 0x520175
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x520175
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x520101
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4148ce
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00414a7e
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4149cc
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41496f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4149b2
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x414986
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4149a1
test al, 0x40
je 0x414998
mov ecx, dword [edi + 0x20]
jmp 0x41499f
test al, 0x80
je 0x4149b2
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4149b2
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41493e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x434790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d857b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c8468
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c57de
mov eax, dword [eax]
push 0x560278
push eax
call fcn.004a4ee4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c86f3
test bl, bl
je 0x434812
push 0x560278
lea ecx, [esp + 0xc]
call fcn.004c8acf
push 0x563df4
lea ecx, [esp + 0xc]
call fcn.004c8acf
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43484e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c86f3
jmp 0x434919
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4348d2
lea edx, [esp + 0x7c]
push 0x563df0
push edx
call fcn.004a4ee4
add esp, 8
test eax, eax
je 0x4348d2
lea eax, [esp + 0x7c]
push 0x563dec
push eax
call fcn.004a4ee4
add esp, 8
test eax, eax
je 0x4348d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434862
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c86f3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x435130
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x435192
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc