Function at 0x45b080
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x990
mov eax, dword [0x53e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
mov dword [ebp - 0x980], eax
lea eax, [ebp - 0x514]
push 0
push eax
call fcn.0049a420
push 0x208
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.0049a420
push 0x208
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.0049a420
push dword [esi + 8]
lea eax, [ebp - 0x30c]
xor ebx, ebx
push dword [esi]
mov dword [ebp - 0x970], ebx
push dword [esi + 4]
push str._s__s__s
push 0x104
push eax
call fcn.0040c7f0
lea edi, [ebp - 0x30c]
add esp, 0x3c
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x45b110
push 0x104
lea eax, [ebp - 0x514]
sub edi, ecx
push eax
sar edi, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45b34d
push str.WinSxS_
lea eax, [ebp - 0x514]
push 0x104
push eax
call fcn.004c9880
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x514]
push eax
push str._s_s
lea eax, [ebp - 0x71c]
push 0x104
push eax
call fcn.0040c7f0
lea eax, [ebp - 0x30c]
push 0x104
push eax
call fcn.004c5d18
movzx ebx, word [esi + 0x18]
xor eax, eax
mov dword [ebp - 0x978], eax
add esp, 0x28
movzx eax, word [esi + 0x1a]
mov dword [ebp - 0x974], eax
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x71c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x97c], esi
cmp esi, 0xffffffff
je 0x45b338
test byte [ebp - 0x96c], 0x10
je 0x45b2c7
lea eax, [ebp - 0x940]
push 0x104
push eax
call fcn.004c5d18
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x940]
push eax
call fcn.0049b564
add esp, 0x10
test eax, eax
je 0x45b2c7
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0049a420
lea esi, [ebp - 0x93e]
lea esi, [esi + edi*2]
push 0x5f
push esi
call fcn.0049b841
lea ecx, [ebp - 0x940]
sub eax, ecx
sar eax, 1
sub eax, edi
dec eax
push eax
push esi
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004b7fec
lea eax, [ebp - 0x104]
add esp, 0x24
mov dword [ebp - 0x990], eax
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b254
sub eax, edx
xorps xmm0, xmm0
sar eax, 1
mov dword [ebp - 0x98c], eax
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x990]
movlpd qword [ebp - 0x988], xmm0
push eax
call fcn.0045afe0
movzx ecx, word [ebp - 0x984]
add esp, 8
cmp ecx, ebx
jb 0x45b2c7
movzx eax, word [ebp - 0x982]
jne 0x45b2a6
cmp eax, dword [ebp - 0x974]
jb 0x45b2c7
mov dword [ebp - 0x974], eax
mov esi, 1
lea eax, [ebp - 0x940]
mov dword [ebp - 0x970], esi
mov ebx, ecx
mov dword [ebp - 0x978], eax
jmp 0x45b2cd
mov esi, dword [ebp - 0x970]
lea eax, [ebp - 0x96c]
push eax
push dword [ebp - 0x97c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b1c2
test esi, esi
je 0x45b319
mov edi, dword [ebp - 0x980]
lea eax, [ebp - 0x514]
push eax
push 0x104
push edi
call fcn.004a5aff
mov eax, dword [ebp - 0x978]
push eax
push 0x104
push edi
call fcn.004c9880
add esp, 0x18
push dword [ebp - 0x97c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004597ba
mov esp, ebp
pop ebp
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004597ba
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004597ba
mov esp, ebp
pop ebp
ret