Function at 0x45bf40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b730c
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4e4018]
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 0x45bff8
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 0x45c427
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.0048784a
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 0x45c089
push ecx
lea ecx, [ebp - 0x4c0]
call fcn.0045d660
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 0x45c0c8
push 0x18
call fcn.0048784a
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.0045cea0
add dword [ebp - 0x4b0], 1
je 0x45c3de
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.0045cea0
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.0042c7f0
sub dword [ebp - 0x4b0], 1
jne 0x45c145
mov dword [ebp - 0x4b4], 0
jmp 0x45c14b
inc dword [ebp - 0x4b4]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.00489ec0
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4cdac4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4ce8ec
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.00489ec0
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 0x45c3c2
nop
cmp word [ebp - 0x6fc], 0x2e
je 0x45c3a9
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.00489ec0
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 0x45c293
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 0x45c256
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x740]
call fcn.0042c850
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4c0]
call fcn.0045cd80
jmp 0x45c39a
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00489ec0
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.00499b65
lea eax, [ebp - 0x90]
push eax
push str..exe
call fcn.004996b0
add esp, 0x38
test eax, eax
jne 0x45c3a9
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 0x45c310
sub eax, edx
lea ecx, [ebp - 0x740]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0042c850
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4a8]
cmp eax, dword [ebp - 0x4a4]
je 0x45c387
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 0x45c39a
lea ecx, [ebp - 0x740]
push ecx
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0045d470
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 2
call fcn.0042c7f0
lea eax, [ebp - 0x728]
push eax
push esi
call edi
test eax, eax
jne 0x45c1d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 1
call fcn.0042c7f0
cmp dword [ebp - 0x4b0], 0
jne 0x45c0f0
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.0045ccc0
lea ecx, [ebp - 0x4ac]
call fcn.0045ce20
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.0048782e
mov esp, ebp
pop ebp
ret 4