Function at 0x53eea2
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x55c939
call fcn.005493c0
sub esp, 0x3d8
mov eax, dword [0x5c58d0]
push ebx
push esi
push edi
push 0x250
mov dword [ebp - 0x10], eax
xor ebx, ebx
xor edi, edi
lea eax, [ebp - 0x3a0]
push ebx
inc edi
push eax
mov esi, ecx
mov dword [ebp - 0x3a4], edi
call sub.MSVCR71.dll_memset
push 0x140
lea eax, [ebp - 0x150]
push ebx
push eax
call sub.MSVCR71.dll_memset
mov eax, dword [esi + 0x3c]
add esp, 0x18
cmp eax, 0xffffffff
jne 0x53f034
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x30]
push eax
push ecx
push 2
lea eax, [ebp - 0x3b4]
push edi
push eax
call fcn.0053a5c1
add esp, 0x14
cmp dword [0x68c558], ebx
mov dword [ebp - 4], ebx
je 0x53f001
push 2
lea eax, [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00539c64
push 0x579868
mov ecx, eax
call fcn.00407f80
lea ecx, [ebp - 0x3c4]
mov edi, eax
call fcn.00407f50
cmp edi, ebx
je 0x53ef6b
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00539ca4
jmp 0x53efc4
push 0xffffffffffffffff
push 0x579860
lea ecx, [ebp - 0x3d4]
call fcn.00539bb8
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x3b4]
push ecx
push eax
lea eax, [ebp - 0x3c4]
push eax
mov byte [ebp - 4], 1
call fcn.0053a40f
add esp, 0xc
push eax
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 2
call fcn.00539ca4
lea ecx, [ebp - 0x3c4]
call fcn.00407f50
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], bl
call fcn.00407f50
push 0xffffffffffffffff
push dword [ebp - 0x3b0]
lea eax, [ebp - 0x3d4]
push ebx
push eax
call fcn.0053a47a
add esp, 0x10
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x3a0]
push ecx
push eax
mov byte [ebp - 4], 3
call dword [0x68c558]
lea ecx, [ebp - 0x3d4]
mov dword [esi + 0x3c], eax
call fcn.00539387
jmp 0x53f017
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x3b0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], 0xffffffff
jne 0x53f023
mov dword [ebp - 0x3a4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b4]
call fcn.00407f50
jmp 0x53f05e
mov ecx, dword [0x68c55c]
cmp ecx, ebx
je 0x53f04a
lea edx, [ebp - 0x3a0]
push edx
push eax
call ecx
jmp 0x53f058
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], ebx
je 0x53f289
cmp dword [0x68c558], ebx
je 0x53f1d7
push 0xffffffffffffffff
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x3d4]
push ebx
push eax
call fcn.0053ec86
add esp, 0x10
lea edi, [esi + 0x40]
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.00539ca4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d4]
call fcn.00407f50
mov eax, dword [esi + 0x44]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x3c4]
push ebx
push eax
call fcn.0053a47a
add esp, 0x10
push 0xffffffffffffffff
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 5
call fcn.0053ea2b
push 0xffffffffffffffff
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x3e4]
push ebx
push eax
mov byte [ebp - 4], 6
call fcn.0053ec86
add esp, 0x10
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 7
call fcn.00539ca4
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 6
call fcn.00407f50
push dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3c4]
call fcn.0053ea8b
test eax, eax
je 0x53f139
push dword [ebp + 8]
mov ecx, edi
call fcn.00539ca4
cmp dword [ebp - 0x398], ebx
mov eax, dword [ebp - 0x3a0]
mov dword [esi + 0x50], eax
jne 0x53f157
cmp dword [ebp - 0x39c], ebx
jne 0x53f157
xor eax, eax
inc eax
jmp 0x53f159
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, ebx
lea eax, [ebp - 0x394]
jne 0x53f16e
lea eax, [ebp - 0x39c]
push eax
lea ecx, [esi + 0x54]
call fcn.0053f694
lea eax, [ebp - 0x394]
push eax
lea ecx, [esi + 0x64]
call fcn.0053f694
lea eax, [ebp - 0x38c]
push eax
lea ecx, [esi + 0x74]
call fcn.0053f694
push 1
push ebx
push ebx
push dword [ebp - 0x384]
call fcn.005495f0
mov ecx, dword [ebp - 0x380]
xor edi, edi
add eax, ecx
adc edx, edi
lea ecx, [ebp - 0x3b4]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
call fcn.00539387
lea ecx, [ebp - 0x3c4]
call fcn.00539387
jmp 0x53f275
lea eax, [ebp - 0x124]
push eax
lea ecx, [esi + 0x40]
call fcn.0053a371
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0053a371
cmp dword [ebp - 0x148], ebx
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x50], eax
jne 0x53f210
cmp dword [ebp - 0x14c], ebx
jne 0x53f210
xor eax, eax
inc eax
jmp 0x53f212
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, ebx
lea eax, [ebp - 0x144]
jne 0x53f227
lea eax, [ebp - 0x14c]
push eax
lea ecx, [esi + 0x54]
call fcn.0053f694
lea eax, [ebp - 0x144]
push eax
lea ecx, [esi + 0x64]
call fcn.0053f694
lea eax, [ebp - 0x13c]
push eax
lea ecx, [esi + 0x74]
call fcn.0053f694
push 1
push ebx
push ebx
push dword [ebp - 0x134]
call fcn.005495f0
mov ecx, dword [ebp - 0x130]
xor edi, edi
add eax, ecx
adc edx, edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
test byte [esi + 0x50], 0x10
je 0x53f289
or dword [esi + 0x88], 0xffffffff
or dword [esi + 0x8c], 0xffffffff
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x90], eax
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0054939e
leave
ret 8