joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5ec0
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 0x4b5f63
test eax, eax
jbe 0x4b5f63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4b5f63
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 0x4b5f0e
xor esi, esi
jmp 0x4b5f14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4b5f3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00450250
add esi, eax
push esi
mov ebx, esi
call fcn.00450250
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4b5f20
pop ebp
test edi, edi
pop edi
jne 0x4b5f63
test ebx, ebx
je 0x4b5f63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00508f70
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4b60a5
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 0x4b61bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b61bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0051c32d
mov esi, eax
test esi, esi
je 0x4b61bd
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 0x4b61bd
mov ecx, esi
call fcn.004b6010
cmp edi, eax
jge 0x4b61bd
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 0x4b6143
mov dword [esp + 0x34], 1
jmp 0x4b619e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4b61bd
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.004b5610
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 0x4b94d0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b951a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4b9549
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x4b958b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4c6090
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x57dd44]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4c60a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4c60e4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x57ddec]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4c6116
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c611a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4c610b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4c6138
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c613c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4c612d
xor ecx, ecx
mov eax, 0x57dd54
xor ebx, ebx
mov bl, byte [ecx + 0x57ddfc]
cmp byte [esp + ebx + 0x14], 0
je 0x4c6167
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x57de14]
cmp byte [esp + ebx + 0x14], 0
je 0x4c617e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4c614e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4c60d7
lea edx, [esp + 0x84]
push edx
call fcn.004c61c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4d42d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004da6e0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4d43c9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, esi
call fcn.00459ee0
test eax, eax
jne 0x4d43c9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push bind
mov ecx, esi
call fcn.00459ee0
test eax, eax
jne 0x4d43c9
lea edx, [esp + 0x10]
push 0x580f74
push edx
call fcn.00509750
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d439a
lea eax, [esp + 0x10]
push 0x580f70
push eax
call fcn.00509750
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d439a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4d439d
mov byte [esi], 0
push 0x580738
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4da620
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x530068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4da6d0
mov eax, dword [0x58ea08]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0051ac6a
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0051acb9
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0051ac16
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4da6b7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4da6b7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0051a886
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4dd7d0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5304f0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4dd977
mov ecx, dword [0x58ea08]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4dd8cc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004dc4f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0051a973
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0051a886
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x580738
call fcn.0051a8f4
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004dc8b0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0051a973
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0051a886
lea ecx, [esp + 0xc]
call fcn.0051ad75
mov ecx, dword [esp + 0xc]
push 0x581174
push ecx
call fcn.00508634
add esp, 8
test eax, eax
je 0x4dd8f4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4dd82d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0051a886
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0051a886
jmp 0x4dd97b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004dd570
test eax, eax
push 0
je 0x4dd95f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004dbc10
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4dd945
cmp eax, 0x64
jg 0x4dd933
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4dd8d0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4dd8d0
cmp eax, 0x64
jge 0x4dd8cc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4dd8d0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004dbc10
mov esi, eax
jmp 0x4dd8d0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4dd985
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4ee0e0
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 0x4ee12c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4ee12c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4ee116
push eax
call ebp
test ax, ax
jl 0x4ee124
inc esi
add edi, 4
cmp esi, 6
jb 0x4ee108
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004edde0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4f0760
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4f07c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4f07c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4f07c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4f07c0
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 0x4f07d0
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 0x4f3e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4f3ed6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4f3ed6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4f3eb7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4f4260
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4f4298
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4f4ec0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4f4f09
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4f5380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530c30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004f4f30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004f4fb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004f4fb0
lea ecx, [esi + 0xc]
call fcn.0051a811
lea ecx, [esi + 0x10]
call fcn.0051a811
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004f6540
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004f6540
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004f6540
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0051a886
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0051a886
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f84b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x4f8605
cmp di, 0x801
ja 0x4f8605
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4f8605
cmp bx, 0xc
ja 0x4f8605
mov al, byte [esp + 0x30]
test al, al
je 0x4f8504
push edi
call fcn.004f8a40
add esp, 4
cmp ax, bx
je 0x4f8504
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.004f8610
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004f8430
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4f8605
test ebx, ebx
jne 0x4f8599
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4f85fb
test al, al
je 0x4f858c
push 0xffffffffffffffe1
jmp 0x4f858e
push 0x1f
push ebp
push edi
push esi
call fcn.004f83e0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004f83e0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.004f8610
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004f8430
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4f8566
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4f9c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5310f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x5eb83c
lea ecx, [esp + 4]
call fcn.0051a8f4
push 0x58e200
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0051a8f4
push 0x58e1fc
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0051a8f4
push 0x58e1f8
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0051a8f4
push 0x58e1f4
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0051a8f4
push 0x58e1f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0051a8f4
push 0x58e1ec
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0051a8f4
push 0x58e1e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0051a8f4
push 0x58e1e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0051a8f4
push 0x58e1e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0051a8f4
push 0x58e1dc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0051a8f4
push 0x58e1d8
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0051a8f4
push 0x58e1d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0051a8f4
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4f9dc0
cmp eax, 0xc
jle 0x4f9dc0
mov ecx, dword [esp + 0x48]
push 0x5eb83c
call fcn.0051a9c3
jmp 0x4f9dce
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0051a973
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0051a886
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0051a886
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0051a886
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0051a886
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0051a886
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0051a886
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0051a886
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0051a886
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0051a886
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0051a886
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0051a886
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0051a886
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0051a886
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4fc1f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x531401
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebp
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.004fc870
lea ecx, [esp + 0x34]
mov dword [esp + 0x18c], 0
call fcn.004fc870
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 1
call fcn.004fc870
mov eax, dword [esp + 0x1a0]
mov edi, dword [esp + 0x19c]
mov ebp, dword [esp + 0x198]
cmp eax, 1
mov byte [esp + 0x18c], 2
jne 0x4fc26f
mov dword [edi], 0
mov dword [ebp], 0
mov eax, dword [esp + 0x194]
lea ecx, [esp + 0x24]
push eax
call fcn.004fc8e0
lea ecx, [esp + 0x24]
push ecx
call fcn.004fcef0
add esp, 4
lea ecx, [esp + 0x24]
push 0x58e3e8
call fcn.004fc960
lea edx, [esp + 0x44]
lea ecx, [esp + 0x24]
push edx
call fcn.00478be0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x4fc3f4
mov esi, 0x58e3dc
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fc2ea
test cl, cl
je 0x4fc2e6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fc2ea
add eax, 2
add esi, 2
test cl, cl
jne 0x4fc2c6
xor eax, eax
jmp 0x4fc2ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4fc3d8
mov esi, 0x58e3d8
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fc324
test cl, cl
je 0x4fc320
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fc324
add eax, 2
add esi, 2
test cl, cl
jne 0x4fc300
xor eax, eax
jmp 0x4fc329
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4fc3d8
test byte [esp + 0x44], 0x10
mov eax, dword [esp + 0x194]
push eax
jne 0x4fc381
lea ecx, [esp + 0x38]
call fcn.004fc8e0
lea ecx, [esp + 0x34]
push ecx
call fcn.004fcef0
add esp, 4
lea edx, [esp + 0x70]
lea ecx, [esp + 0x34]
push edx
call fcn.004fc960
push 0
lea ecx, [esp + 0x38]
call fcn.00478be0
push eax
call fcn.0050ac14
add esp, 8
test eax, eax
jne 0x4fc3d8
inc dword [ebp]
jmp 0x4fc3d8
lea ecx, [esp + 0x18]
call fcn.004fc8e0
lea ecx, [esp + 0x14]
push ecx
call fcn.004fcef0
add esp, 4
lea edx, [esp + 0x70]
lea ecx, [esp + 0x14]
push edx
call fcn.004fc960
push 0
lea ecx, [esp + 0x18]
call fcn.00478be0
push eax
call fcn.0050ac14
add esp, 8
test eax, eax
jne 0x4fc3d8
mov ecx, dword [edi]
push eax
inc ecx
push edi
mov dword [edi], ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.00478bf0
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004fc1f0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4fc2bd
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add esi, eax
mov byte [esp + 0x18c], 1
call fcn.004fc890
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 0
call fcn.004fc890
lea ecx, [esp + 0x24]
mov dword [esp + 0x18c], 0xffffffff
call fcn.004fc890
mov ecx, dword [esp + 0x184]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x184
ret 0x10