Function at 0x4032d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x445756
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x45a4d0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a4d0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403334
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.00402770
mov dword [esp + 0x1a0], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x40338d
lea esi, [eax - 1]
cmp eax, esi
ja 0x403363
call fcn.004436b6
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x403372
lea eax, [esp + 0x3c]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x40338d
cmp al, 0x5c
je 0x40338d
push 1
push 0x44c870
lea eax, [esp + 0x40]
call fcn.00402080
mov eax, 0x44ce9c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403395
sub eax, edx
push eax
push 0x44ce9c
lea eax, [esp + 0x40]
call fcn.00402080
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x4033bc
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov esi, 0xf
mov eax, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4033e4
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00402770
mov byte [esp + 0x1a0], 1
cmp edi, 0xffffffff
jne 0x403444
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x40341d
mov edx, dword [esp + 0x20]
push edx
call fcn.004110df
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], edi
jb 0x40343c
mov eax, dword [esp + 0x3c]
push eax
call fcn.004110df
add esp, 4
or eax, 0xffffffff
jmp 0x4035ff
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x403482
lea esi, [eax - 1]
cmp eax, esi
ja 0x403458
call fcn.004436b6
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x403467
lea eax, [esp + 0x20]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403482
cmp al, 0x5c
je 0x403482
push 1
push 0x44c870
lea eax, [esp + 0x24]
call fcn.00402080
lea eax, [esp + 0x80]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403490
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea eax, [esp + 0x24]
call fcn.00402080
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4034b5
sub eax, edx
cmp eax, 4
jbe 0x4034e5
test byte [esp + 0x54], 0x10
jne 0x4034e5
lea edi, [esp + 0x1c]
call fcn.00401ce0
mov ebx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00401fe0
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4035b2
lea esp, [esp]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403505
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00402770
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x403557
lea esi, [eax - 1]
cmp eax, esi
ja 0x40352d
call fcn.004436b6
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x40353c
lea eax, [esp + 0x20]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403557
cmp al, 0x5c
je 0x403557
push 1
push 0x44c870
lea eax, [esp + 0x24]
call fcn.00402080
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403561
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea eax, [esp + 0x24]
call fcn.00402080
test byte [esp + 0x54], 0x10
jne 0x40359e
lea edi, [esp + 0x1c]
call fcn.00401ce0
mov ebx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00401fe0
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403500
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x4035d7
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004110df
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], esi
jb 0x4035fa
mov edx, dword [esp + 0x3c]
push edx
call fcn.004110df
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.0042dcb1
add esp, 0x190
ret