Function at 0x431736
Capabilities:
Enumerate files on windows

Disassembly:
push 0x504
mov eax, 0x5e5132
call fcn.00423157
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2a8]
mov edi, dword [ebp + 0xc]
push eax
call fcn.0040a9f0
xor ebx, ebx
lea ecx, [ebp - 0x290]
push edi
mov dword [ebp - 4], ebx
call fcn.0040a9f0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0042eabd
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 2
push eax
call fcn.0042e877
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0042e806
add esp, 0x14
lea ecx, [ebp - 0x290]
push eax
call fcn.0040b1c0
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0040e6e0
mov esi, 0x5faf6c
push esi
call fcn.004b0fdd
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0040e930
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x510]
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x431a9d
lea eax, [ebp - 0x510]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x431a9d
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp word [ebp - 0x4e4], ax
jne 0x431841
mov eax, ebx
jmp 0x43184e
lea eax, [ebp - 0x4e4]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408a70
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042eabd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.0043a016
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.0042967b
lea eax, [ebp - 0x278]
push eax
call fcn.0042e877
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042e806
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.0040b1c0
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.0040e6e0
push 0x2e
pop eax
cmp word [ebp - 0x4e4], ax
je 0x431a33
cmp word [ebp - 0x4e2], 0
je 0x431a33
cmp word [ebp - 0x4e2], ax
jne 0x431905
cmp word [ebp - 0x4e0], 0
je 0x431a33
test byte [ebp - 0x510], 0x10
jne 0x431a33
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.004a20a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push 0x5f6ee4
push eax
call fcn.00407b20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042d56b
add esp, 0x20
lea ecx, [ebp - 0x260]
push eax
call fcn.0040b1c0
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.0040e6e0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push str..lnk
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.004b0f7b
pop ecx
pop ecx
test eax, eax
jne 0x431a25
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0042d6b0
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0042e14d
add esp, 0x10
test eax, eax
jne 0x431a4a
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0040e6e0
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.0040e6e0
push ebx
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0040e6e0
jmp 0x431805
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push edi
call fcn.004b0f7b
xor ebx, ebx
test eax, eax
pop ecx
pop ecx
setne bl
lea ecx, [ebp - 0x248]
xor esi, esi
inc ebx
push esi
push 1
call fcn.0040e6e0
push esi
push 1
lea ecx, [ebp - 0x260]
call fcn.0040e6e0
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.0040e6e0
jmp 0x431a9f
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.0042967b
push esi
push 1
lea ecx, [ebp - 0x290]
call fcn.0040e6e0
push esi
push 1
lea ecx, [ebp - 0x2a8]
call fcn.0040e6e0
mov eax, ebx
call fcn.00423112
ret 8