Function at 0x45bbd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecc37
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x521390]
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 0x45be8c
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x278]
push edx
mov ebx, 0x4f8eb8
mov byte [ebp - 4], 2
xor esi, esi
call fcn.0045c1d0
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x274]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.0045c120
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 0x45bc8d
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 0x45be32
cmp esi, 0x12
je 0x45be32
lea eax, [ebp - 0x23c]
lea edx, [eax + 2]
jmp 0x45bcd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45bcd0
sub eax, edx
lea ecx, [ebp - 0x23c]
sar eax, 1
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ebx, eax
call fcn.0045aa80
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
push ecx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
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.0045c120
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 0x45bd8b
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x45bd7b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45bd7b
call fcn.0045c3c0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x45bd6a
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 0x45bd8b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0045aa80
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 0x45bdb1
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 0x45bdd7
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.0045c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0045bb10
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 0x45bcb0
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 0x45be66
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 0x45be8c
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 0x45beaf
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 0x45bed5
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.004cbf11
mov esp, ebp
pop ebp
ret