Function at 0x45bd60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b629c
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4e3018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x4ac], xmm0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x744], esi
mov dword [ebp - 0x748], esi
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x148], 0
jne 0x45be18
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x45c247
movups xmmword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4b0], 0
push 8
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
call fcn.004869b5
lea ecx, [ebp - 0x4c0]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x4c0], eax
mov dword [eax], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4b0]
mov ecx, dword [ebp - 0x4b8]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x45bea9
push ecx
lea ecx, [ebp - 0x4c0]
call fcn.0045d480
mov edx, dword [ebp - 0x4b0]
mov ecx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4b4]
dec ecx
and eax, ecx
mov dword [ebp - 0x4b4], eax
add eax, edx
and eax, ecx
mov ecx, dword [ebp - 0x4bc]
cmp dword [ecx + eax*4], 0
lea esi, [eax*4]
jne 0x45bee8
push 0x18
call fcn.004869b5
mov ecx, dword [ebp - 0x4bc]
add esp, 4
mov dword [ecx + esi], eax
mov ecx, dword [ebp - 0x4bc]
mov ecx, dword [ecx + esi]
lea eax, [edi + 0x138]
push eax
call fcn.0045ccc0
add dword [ebp - 0x4b0], 1
je 0x45c1fe
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov ecx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4bc]
dec ecx
and ecx, dword [ebp - 0x4b4]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x4d8]
call fcn.0045ccc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4bc]
dec ecx
and ecx, dword [ebp - 0x4b4]
mov ecx, dword [eax + ecx*4]
call fcn.0042c640
sub dword [ebp - 0x4b0], 1
jne 0x45bf65
mov dword [ebp - 0x4b4], 0
jmp 0x45bf6b
inc dword [ebp - 0x4b4]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.00489020
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4cc9ac
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4cd7d4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.00489020
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45c1e2
nop
cmp word [ebp - 0x6fc], 0x2e
je 0x45c1c9
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.00489020
add esp, 0xc
lea ecx, [ebp - 0x6fc]
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push ecx
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x728], 0x10
je 0x45c0b3
xor eax, eax
mov dword [ebp - 0x740], 0
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x730], 0
mov dword [ebp - 0x72c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x740], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c076
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x740]
call fcn.0042c6a0
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4c0]
call fcn.0045cba0
jmp 0x45c1ba
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00489020
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6fc]
push 0
push eax
call fcn.00498b95
lea eax, [ebp - 0x90]
push eax
push str..exe
call fcn.004986e0
add esp, 0x38
test eax, eax
jne 0x45c1c9
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x730], eax
mov word [ebp - 0x740], ax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x72c], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c130
sub eax, edx
lea ecx, [ebp - 0x740]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0042c6a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4a8]
cmp eax, dword [ebp - 0x4a4]
je 0x45c1a7
movups xmm0, xmmword [ebp - 0x740]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x730]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x4a8], 0x18
mov dword [ebp - 0x730], 0
mov dword [ebp - 0x72c], 7
mov word [ebp - 0x740], ax
jmp 0x45c1ba
lea ecx, [ebp - 0x740]
push ecx
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0045d290
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 2
call fcn.0042c640
lea eax, [ebp - 0x728]
push eax
push esi
call edi
test eax, eax
jne 0x45bff0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 1
call fcn.0042c640
cmp dword [ebp - 0x4b0], 0
jne 0x45bf10
mov esi, dword [ebp - 0x744]
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x4ac]
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 0
mov dword [esi], eax
mov dword [esi + 8], edx
call fcn.0045cae0
lea ecx, [ebp - 0x4ac]
call fcn.0045cc40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486999
mov esp, ebp
pop ebp
ret 4