Function at 0x45fbf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a89b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5c9ea4]
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
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ba20
push 1
push 0x5bda28
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004517b0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x28]
push eax
call fcn.004517b0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45fcd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.00459870
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45fe10
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45febc
jmp 0x45fe06
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
push 0x5bd148
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x45fde4
push 0x5bf728
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x45fde4
mov eax, dword [ebp - 0x290]
test eax, 0x400
jne 0x45fde4
test al, 0x10
je 0x45fde4
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x298], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x264]
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fd50
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044a140
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044ba20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0045da10
add esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0044ba20
call fcn.0045f930
mov byte [ebp - 4], 2
add esp, 0x18
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45fde4
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fdda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45febc
push edx
push ecx
call fcn.00518414
add esp, 8
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45fce0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45fc9b
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x45fe56
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45febc
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x45fea0
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45febc
push edx
push ecx
call fcn.00518414
add esp, 8
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.005181d3
mov esp, ebp
pop ebp
ret
call fcn.00533a91
int3