Function at 0x4509b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d91b1
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x66c214]
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
mov dword [ebp - 0x904], ecx
mov esi, dword [ebp + 8]
xor edi, edi
test esi, esi
je 0x450d4e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push edi
push 0xffffffffffffffff
push esi
push edi
push 0xfde9
call ebx
cmp eax, 1
jle 0x450d4e
mov ecx, dword [ebp - 0x904]
push esi
call fcn.00450d80
cmp al, 1
je 0x450d4a
push 0x104
lea eax, [ebp - 0x154]
push edi
push eax
call fcn.00579420
lea eax, [ebp - 0x154]
push edi
push eax
call fcn.00443520
push 1
push 0x63f8f0
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.0058e895
push 3
push 0x6422b8
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.0058e895
add esp, 0x34
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x698]
push eax
call fcn.00433350
push 2
push 0x642438
lea ecx, [ebp - 0x698]
mov dword [ebp - 4], edi
call fcn.00430c90
push 0x208
lea eax, [ebp - 0x668]
push edi
push eax
call fcn.00579420
push 0x208
lea eax, [ebp - 0x460]
push edi
push eax
call fcn.00579420
add esp, 0x18
lea ecx, [ebp - 0x668]
cmp dword [ebp - 0x684], 0x10
lea eax, [ebp - 0x698]
cmovae eax, dword [ebp - 0x698]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push edi
push 0xfde9
call ebx
push 0x104
lea eax, [ebp - 0x460]
push eax
push 0xffffffffffffffff
push esi
push edi
push 0xfde9
call ebx
lea eax, [ebp - 0x900]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x450b28
mov edi, 5
jmp 0x450d2c
push 0x63f7d8
lea ecx, [ebp - 0x680]
call fcn.00433230
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x8d4], 0
jne 0x450b50
xor eax, eax
jmp 0x450b6f
lea eax, [ebp - 0x8d4]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450b60
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x680]
call fcn.00433520
cmp word [ebp - 0x460], 0
jne 0x450b90
xor ecx, ecx
jmp 0x450baf
lea ecx, [ebp - 0x460]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450ba0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x680]
call fcn.00451610
cmp eax, 0xffffffff
jne 0x450be3
lea eax, [ebp - 0x900]
push eax
push ebx
call esi
test eax, eax
jne 0x450b42
lea edi, [eax + 5]
jmp 0x450d1a
push 0
push 0x640510
lea ecx, [ebp - 0x680]
call fcn.00451520
push eax
push 0
lea eax, [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x680]
call fcn.0044c320
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00579420
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x50]
add esp, 0xc
lea eax, [ebp - 0x6b0]
cmp dword [ebp - 0x69c], 8
cmovae eax, dword [ebp - 0x6b0]
push 0
push 0
push 0x40
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x50]
push eax
call fcn.00450d80
cmp al, 1
je 0x450d0f
push 0x104
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00579420
add esp, 0xc
lea ecx, [ebp - 0x258]
cmp dword [ebp - 0x66c], 8
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push 0
push 0
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 1
push 0x63f8f0
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.0058e895
lea ecx, [ebp - 0x258]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450cd0
sub ecx, edx
lea eax, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.0058e895
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x154]
add esp, 0xc
push 1
push 0
push 0
push eax
call fcn.0044d2c0
mov edi, eax
lea ecx, [ebp - 0x6b0]
call fcn.004331f0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x680]
call fcn.004331f0
mov eax, dword [ebp - 0x684]
cmp eax, 0x10
jb 0x450d4a
inc eax
lea ecx, [ebp - 0x698]
push eax
push dword [ebp - 0x698]
call fcn.00430ec0
mov eax, edi
jmp 0x450d53
mov eax, 4
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.00562e44
mov esp, ebp
pop ebp
ret 4