Function at 0x4bd040
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x883514
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a0
mov dword [ebp - 0x454], ecx
mov ecx, dword [ebp - 0x454]
call fcn.004bcf40
push 0
push 0
lea ecx, [ebp - 0x268]
call fcn.0041ccf0
mov eax, dword [0x892260]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.0041cbc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x458], str..
mov edx, dword [ebp - 0x458]
add edx, 1
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x458]
mov cl, byte [eax]
mov byte [ebp - 0x45d], cl
add dword [ebp - 0x458], 1
cmp byte [ebp - 0x45d], 0
jne 0x4bd0b5
mov edx, dword [ebp - 0x458]
sub edx, dword [ebp - 0x45c]
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0x464]
push eax
push str..
lea ecx, [ebp - 0x268]
call fcn.00449bf0
cmp dword [ebp - 0x250], 0x10
jb 0x4bd113
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x468], ecx
jmp 0x4bd11f
lea edx, [ebp - 0x264]
mov dword [ebp - 0x468], edx
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x370], eax
xor edx, edx
cmp dword [ebp - 0x370], 0xffffffff
setne dl
mov byte [ebp - 0x371], dl
movzx eax, byte [ebp - 0x371]
test eax, eax
je 0x4bd50d
mov byte [ebp - 0x373], 0
mov ecx, dword [ebp - 0x24c]
and ecx, 0x10
neg ecx
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x372], cl
movsx edx, byte [ebp - 0x220]
cmp edx, 0x2e
je 0x4bd281
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.00840c7c
add esp, 0x14
movzx eax, byte [ebp - 0x372]
test eax, eax
je 0x4bd1c6
xor ecx, ecx
cmp dword [ebp + 0xc], 0xffffffff
sete cl
mov byte [ebp - 0x373], cl
jmp 0x4bd281
lea edx, [ebp - 0x36c]
push edx
lea ecx, [ebp - 0x390]
call fcn.004bdec0
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x4bd258
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x398], esp
mov dword [ebp - 0x3b8], edx
push 0
push 0
mov ecx, dword [ebp - 0x3b8]
call fcn.0041ccf0
mov eax, dword [0x892260]
push eax
push 0
lea ecx, [ebp - 0x390]
push ecx
mov ecx, dword [ebp - 0x3b8]
call fcn.0041cbc0
mov edx, dword [ebp - 0x3b8]
mov dword [ebp - 0x46c], edx
mov ecx, dword [ebp - 0x454]
call fcn.004bd550
mov byte [ebp - 0x46d], al
movzx eax, byte [ebp - 0x46d]
test eax, eax
jne 0x4bd258
mov dword [ebp - 0x474], 0
jmp 0x4bd262
mov dword [ebp - 0x474], 1
mov cl, byte [ebp - 0x474]
mov byte [ebp - 0x373], cl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x390]
call fcn.0041ccf0
movzx edx, byte [ebp - 0x373]
test edx, edx
je 0x4bd4e8
push 0x44
call fcn.0082222c
add esp, 4
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3a0], 0
je 0x4bd2c0
mov ecx, dword [ebp - 0x3a0]
call fcn.004bdf50
mov dword [ebp - 0x478], eax
jmp 0x4bd2ca
mov dword [ebp - 0x478], 0
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x39c]
mov dword [ebp - 0x394], ecx
cmp dword [ebp - 0x394], 0
je 0x4bd4e8
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x3bc], edx
mov eax, dword [0x892260]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x3bc]
call fcn.0041cbc0
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x47c], 0x9184f8
mov eax, dword [ebp - 0x47c]
add eax, 1
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x47c]
mov dl, byte [ecx]
mov byte [ebp - 0x481], dl
add dword [ebp - 0x47c], 1
cmp byte [ebp - 0x481], 0
jne 0x4bd33b
mov eax, dword [ebp - 0x47c]
sub eax, dword [ebp - 0x480]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
push ecx
push 0x9184f8
mov ecx, dword [ebp - 0x3c0]
call fcn.00449bf0
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x3c4], edx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
add ecx, 1
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp - 0x48c]
mov al, byte [edx]
mov byte [ebp - 0x491], al
add dword [ebp - 0x48c], 1
cmp byte [ebp - 0x491], 0
jne 0x4bd3a9
mov ecx, dword [ebp - 0x48c]
sub ecx, dword [ebp - 0x490]
mov dword [ebp - 0x498], ecx
mov edx, dword [ebp - 0x498]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x3c4]
call fcn.00449bf0
mov ecx, dword [ebp - 0x394]
add ecx, 0x24
mov dword [ebp - 0x3d4], ecx
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x49c]
add eax, 1
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x49c]
mov dl, byte [ecx]
mov byte [ebp - 0x4a1], dl
add dword [ebp - 0x49c], 1
cmp byte [ebp - 0x4a1], 0
jne 0x4bd41c
mov eax, dword [ebp - 0x49c]
sub eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x3d4]
call fcn.0041cda0
mov ecx, dword [ebp - 0x394]
call fcn.004bdb10
mov eax, dword [ebp - 0x394]
push eax
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x454]
mov eax, dword [edx + 4]
call eax
movzx ecx, al
test ecx, ecx
je 0x4bd4a8
lea edx, [ebp - 0x394]
push edx
mov ecx, dword [ebp - 0x454]
add ecx, 4
call fcn.00469780
jmp 0x4bd4e8
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3a4], ecx
cmp dword [ebp - 0x3a4], 0
je 0x4bd4de
push 1
mov ecx, dword [ebp - 0x3a4]
call fcn.004bde50
mov dword [ebp - 0x4ac], eax
jmp 0x4bd4e8
mov dword [ebp - 0x4ac], 0
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x371], al
jmp 0x4bd14b
cmp dword [ebp - 0x370], 0xffffffff
je 0x4bd523
mov ecx, dword [ebp - 0x370]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x268]
call fcn.0041ccf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc