Function at 0x531460
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b36bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], 0
lea ecx, [ebp - 0x28]
call fcn.00531d40
mov dword [ebp - 4], 1
lea eax, [ebp - 0x290]
push eax
call fcn.00618650
add esp, 4
mov byte [ebp - 4], 2
push 0x7f30a8
lea ecx, [ebp - 0x290]
call fcn.004036b0
push 0x7f30c8
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00403a70
add esp, 0xc
mov byte [ebp - 4], 3
mov dword [ebp - 0x28c], 0
push 0x24c
push 0
lea eax, [ebp - 0x288]
push eax
call fcn.007202b0
add esp, 0xc
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0xffffffff
je 0x5315ca
push 0x7f30d4
lea edx, [ebp - 0x260]
push edx
call fcn.00723784
add esp, 8
test eax, eax
je 0x5315a1
push 0x7f30d8
lea eax, [ebp - 0x260]
push eax
call fcn.00723784
add esp, 8
test eax, eax
je 0x5315a1
mov ecx, dword [ebp - 0x28c]
and ecx, 0x10
je 0x5315a1
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x2a0]
call fcn.004068d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00531ee0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.00405ef0
lea ecx, [ebp - 0x28c]
push ecx
mov edx, dword [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x531532
mov eax, dword [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00531e90
movzx ecx, al
test ecx, ecx
je 0x531624
push 0x7f30e0
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov edx, dword [ebp - 0x2a8]
or edx, 1
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00531db0
mov eax, dword [ebp + 8]
jmp 0x5317ff
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00409630
add esp, 8
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004086d0
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00405e90
mov byte [ebp - 4], 7
mov dword [ebp - 0x29c], 0
jmp 0x531672
mov edx, dword [ebp - 0x29c]
add edx, 1
mov dword [ebp - 0x29c], edx
lea ecx, [ebp - 0x28]
call fcn.00531e70
cmp dword [ebp - 0x29c], eax
jae 0x53172d
lea ecx, [ebp - 0x294]
call fcn.00405e80
push eax
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00531eb0
mov ecx, eax
call fcn.00405e80
push eax
call fcn.00618570
add esp, 8
test eax, eax
jle 0x531728
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
mov ecx, dword [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00531eb0
mov ecx, eax
call fcn.00405e80
push eax
call fcn.00618570
add esp, 8
test eax, eax
jle 0x531728
lea ecx, [ebp - 0x2c]
call fcn.00405e80
push eax
mov edx, dword [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00531eb0
mov ecx, eax
call fcn.00405e80
push eax
call fcn.00618570
add esp, 8
test eax, eax
jg 0x531728
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00531eb0
push eax
lea ecx, [ebp - 0x294]
call fcn.00403670
jmp 0x531663
lea ecx, [ebp - 0x294]
push ecx
push 0x7f30e4
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00403a70
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004039c0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2a4]
call fcn.00405ef0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405d50
mov edx, dword [ebp - 0x2a8]
or edx, 1
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00405ef0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00405ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00405ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00531db0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4