Function at 0x45a810
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x54fff4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0x5b5ecc]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push ecx
push str._s.gsd
push edx
mov dword [esp + 0x178], 0
call fcn.0053091a
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ebx
jne 0x45a89b
lea ecx, [esp + 0xc]
mov dword [esp + 0x16c], eax
call fcn.00537b04
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
push esi
push edi
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x598a7c
push edx
mov byte [esp + 0x184], 1
call fcn.0053091a
push 0x38
call fcn.005380a1
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x174], 2
je 0x45a8f0
mov ecx, eax
call fcn.004a6ab0
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x45a8fc
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x178], 1
call fcn.004a6b60
mov edx, dword [0x5ba894]
xor eax, eax
test edx, edx
jle 0x45a931
mov edi, dword [esi + 0x2c]
mov ecx, dword [0x5ba890]
cmp dword [ecx], edi
je 0x45a967
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x45a925
test esi, esi
je 0x45a93d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov byte [esp + 0x174], 0
lea ecx, [esp + 0x10]
je 0x45aaf1
call fcn.00537b04
jmp 0x45a89d
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x30]
push ecx
push 0x597ddc
push edx
call fcn.0053091a
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, edx
add esp, 0xc
mov dword [esp + 0x24], ebx
inc ebx
xor edi, edi
cmp ebx, edi
jne 0x45a9ba
cmp eax, edi
je 0x45a9a4
push eax
mov dword [esp + 0x24], edx
call fcn.005380ca
add esp, 4
mov dword [ebp + 0x10], edi
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov dword [edx + eax*4], esi
jmp 0x45a93d
cmp eax, edi
jne 0x45aa00
lea edi, [ebx*4]
push edi
call fcn.005380a1
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x10], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [edx + eax*4], esi
jmp 0x45a93d
mov ecx, dword [ebp + 0x18]
cmp ebx, ecx
jg 0x45aa4a
cmp edx, ebx
jge 0x45aa2c
mov ecx, ebx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [edx + eax*4], esi
jmp 0x45a93d
jle 0x45aa34
sub edx, ebx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [edx + eax*4], esi
jmp 0x45a93d
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jne 0x45aa74
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45aa68
mov eax, 4
jmp 0x45aa74
cmp eax, 0x400
jle 0x45aa74
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x45aa82
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.005380a1
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x24], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x14]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.005380ca
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x18], ecx
add esp, 8
mov dword [edx + eax*4], esi
jmp 0x45a93d
call fcn.00537b04
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov dword [esp + 0x174], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret