Function at 0x431250
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d388
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
mov dword [ebp - 4], 1
push 0xffffffffffffffff
mov byte [ebp - 0x181], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
lea eax, [ebp + 8]
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
call fcn.0042c2b0
push 2
push 0x5b1168
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042c490
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4312f0
xor bl, bl
jmp 0x431436
mov ecx, 0x5b13dc
lea eax, [ebp - 0x154]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431320
test dl, dl
je 0x43131c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431320
add eax, 2
add ecx, 2
test dl, dl
jne 0x431300
xor eax, eax
jmp 0x431325
sbb eax, eax
or eax, 1
test eax, eax
je 0x4313f8
mov eax, 0x5b13e0
lea ecx, [ebp - 0x154]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x431358
test dl, dl
je 0x431354
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x431358
add ecx, 2
add eax, 2
test dl, dl
jne 0x431338
xor eax, eax
jmp 0x43135d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4313f8
test byte [ebp - 0x180], 0x10
je 0x4313f8
cmp byte [ebp - 0x154], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x431391
xor ecx, ecx
jmp 0x4313a9
lea ecx, [ebp - 0x154]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4313a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042c1b0
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
lea ecx, [ebp + 0x20]
push dword [ebp - 0x30]
mov edx, dword [ebp + 0x30]
cmp esi, 0x10
cmovae eax, edi
cmp dword [ebp + 0x34], 0x10
push eax
cmovae ecx, dword [ebp + 0x20]
call fcn.0042b980
add esp, 8
test eax, eax
je 0x431410
cmp esi, 0x10
jb 0x4313f8
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0042ce80
lea eax, [ebp - 0x180]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4312f0
jmp 0x431429
mov byte [ebp - 0x181], 1
cmp esi, 0x10
jb 0x431429
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0042ce80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, byte [ebp - 0x181]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43144b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x431472
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x431499
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.0042ce80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0x30