Function at 0x45bec0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505c57
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x54c2c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45c17c
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x278]
push edx
mov ebx, 0x5194e0
mov byte [ebp - 4], 2
xor esi, esi
call fcn.0045c4b0
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x274]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.0045c400
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x274]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x270], edi
lea ecx, [ecx]
cmp edi, 0xffffffff
je 0x45c122
cmp esi, 0x12
je 0x45c122
lea eax, [ebp - 0x23c]
lea edx, [eax + 2]
jmp 0x45bfc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45bfc0
sub eax, edx
lea ecx, [ebp - 0x23c]
sar eax, 1
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ebx, eax
call fcn.00459320
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
push ecx
mov ebx, 0x5194e0
call fcn.0045c4b0
add esp, 8
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x27c]
push ecx
mov ebx, eax
mov byte [ebp - 4], 7
call fcn.0045c400
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov esi, dword [ebp - 0x26c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45c07b
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x45c06b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45c06b
call fcn.0045c680
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x45c05a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x26c], edi
mov edi, dword [ebp - 0x270]
jmp 0x45c07b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00459320
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c0a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c0c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x284], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
call fcn.0045be00
add esp, 4
lea ecx, [ebp - 0x268]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x45bfa0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c156
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c17c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c19f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c1c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e0a00
mov esp, ebp
pop ebp
ret