Function at 0x45ffb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x55aef4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0x5c2a74]
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.0053afda
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 0x46003b
lea ecx, [esp + 0xc]
mov dword [esp + 0x16c], eax
call fcn.005421be
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 [0x5c2a74]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x5a4b44
push edx
mov byte [esp + 0x184], 1
call fcn.0053afda
push 0x38
call fcn.0054276d
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x174], 2
je 0x460090
mov ecx, eax
call fcn.004ad9e0
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x46009c
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.004ada90
mov edx, dword [0x5c7484]
xor eax, eax
test edx, edx
jle 0x4600d1
mov edi, dword [esi + 0x2c]
mov ecx, dword [0x5c7480]
cmp dword [ecx], edi
je 0x460107
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4600c5
test esi, esi
je 0x4600dd
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 0x460291
call fcn.005421be
jmp 0x46003d
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x30]
push ecx
push 0x5a3e24
push edx
call fcn.0053afda
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 0x46015a
cmp eax, edi
je 0x460144
push eax
mov dword [esp + 0x24], edx
call fcn.00542796
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 0x4600dd
cmp eax, edi
jne 0x4601a0
lea edi, [ebx*4]
push edi
call fcn.0054276d
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 0x4600dd
mov ecx, dword [ebp + 0x18]
cmp ebx, ecx
jg 0x4601ea
cmp edx, ebx
jge 0x4601cc
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 0x4600dd
jle 0x4601d4
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 0x4600dd
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jne 0x460214
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x460208
mov eax, 4
jmp 0x460214
cmp eax, 0x400
jle 0x460214
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x460222
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.0054276d
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.00542796
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 0x4600dd
call fcn.005421be
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov dword [esp + 0x174], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret