Function at 0x431db0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x354
push ebx
push ebp
push edi
mov ebp, ecx
push 0x80
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x13], 1
call fcn.00587c03
xor ebx, ebx
mov dword [esp + 0x14], eax
mov byte [eax], bl
mov eax, dword [esp + 0x368]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], 0x80
je 0x431df8
push eax
lea ecx, [esp + 0x14]
call fcn.00566650
jmp 0x431e24
mov eax, dword [ebp]
cmp eax, ebx
jne 0x431e04
mov eax, 0x5ea438
push eax
lea ecx, [esp + 0x14]
call fcn.00566650
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x431e1a
mov eax, 0x5ea438
push eax
lea ecx, [esp + 0x14]
call fcn.005665b0
mov edi, dword [esp + 0x10]
cmp edi, ebx
jne 0x431e31
mov edi, 0x5ea438
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov esi, ecx
cmp esi, ebx
jle 0x431e60
lea ecx, [esp + 0x14]
call fcn.00415c30
cmp byte [eax + esi - 1], 0x5c
je 0x431e60
push 0x5c2aac
lea ecx, [esp + 0x18]
call fcn.005665b0
push 0x5c2ab8
lea ecx, [esp + 0x18]
call fcn.005665b0
mov esi, dword [ebp + 0x20]
add ebp, 0x20
cmp esi, ebx
je 0x431e91
mov edi, esi
mov esi, dword [esi + 4]
mov ecx, edi
call fcn.00434420
push edi
call fcn.00587bcf
add esp, 4
cmp esi, ebx
jne 0x431e78
mov eax, dword [esp + 0x1c]
add eax, 0x30
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov esi, dword [eax]
cmp esi, ebx
je 0x431ec9
lea ebx, [ebx]
mov edi, esi
mov esi, dword [esi + 4]
mov ecx, edi
call fcn.00434420
push edi
call fcn.00587bcf
add esp, 4
cmp esi, ebx
jne 0x431eb0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
jne 0x431ee6
mov eax, 0x5ea438
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x431f65
mov byte [esp + 0x13], bl
mov ecx, dword [ebp]
push ecx
mov ecx, ebp
call fcn.00434290
mov ecx, eax
cmp ecx, ebx
mov dword [ebp], eax
pop esi
je 0x431f29
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x431f29
nop
lea esp, [esp]
mov ecx, edx
mov edx, dword [ecx + 4]
cmp edx, ebx
jne 0x431f20
mov dword [ebp + 4], ecx
push 1
lea ecx, [edi + 0x30]
mov dword [ebp + 8], eax
call fcn.00434090
mov edx, dword [edi + 0x1c]
mov eax, dword [esp + 0x10]
inc edx
mov dword [edi + 0x1c], edx
pop edi
pop ebp
cmp eax, ebx
pop ebx
je 0x431f54
push eax
call fcn.00587bcf
add esp, 4
mov al, byte [esp + 3]
add esp, 0x354
ret 4
mov edi, dword [esp + 0x1c]
test byte [esp + 0x24], 0x10
je 0x432026
mov edi, 0x5beb48
lea esi, [esp + 0x50]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x432072
mov edi, 0x5c2ab4
lea esi, [esp + 0x50]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x432072
push 0x100
lea edx, [esp + 0x168]
lea ecx, [esp + 0x54]
call fcn.00568910
push 8
call fcn.00587c03
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x431fdf
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
call fcn.00566650
jmp 0x431fe1
xor esi, esi
cmp esi, ebx
je 0x432072
push 0xc
call fcn.00587c03
add esp, 4
cmp eax, ebx
je 0x432003
push 1
push esi
mov ecx, eax
call fcn.004bac20
jmp 0x432005
xor eax, eax
cmp dword [ebp], ebx
jne 0x432018
mov dword [ebp], eax
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
inc dword [ebp + 0xc]
jmp 0x432072
mov edx, dword [ebp + 4]
mov dword [edx + 4], eax
mov dword [ebp + 4], eax
inc dword [ebp + 0xc]
jmp 0x432072
push 0x100
lea edx, [esp + 0x268]
lea ecx, [esp + 0x54]
call fcn.00568910
push 8
call fcn.00587c03
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x432065
lea eax, [esp + 0x264]
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
call fcn.00566650
jmp 0x432067
xor esi, esi
push 1
push esi
lea ecx, [edi + 0x30]
call fcn.00434030
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x431f61
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x1c]
jmp 0x431eff