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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x990
mov eax, dword [0x53f300]
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.0049bb00
push 0x208
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.0049bb00
push 0x208
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.0049bb00
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 0x45b290
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 0x45b4cd
push str.WinSxS_
lea eax, [ebp - 0x514]
push 0x104
push eax
call fcn.004caf60
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.004c73f8
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 0x45b4b8
test byte [ebp - 0x96c], 0x10
je 0x45b447
lea eax, [ebp - 0x940]
push 0x104
push eax
call fcn.004c73f8
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x940]
push eax
call fcn.0049cc44
add esp, 0x10
test eax, eax
je 0x45b447
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0049bb00
lea esi, [ebp - 0x93e]
lea esi, [esi + edi*2]
push 0x5f
push esi
call fcn.0049cf21
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.004b96cc
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 0x45b3d4
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.0045b160
movzx ecx, word [ebp - 0x984]
add esp, 8
cmp ecx, ebx
jb 0x45b447
movzx eax, word [ebp - 0x982]
jne 0x45b426
cmp eax, dword [ebp - 0x974]
jb 0x45b447
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 0x45b44d
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 0x45b342
test esi, esi
je 0x45b499
mov edi, dword [ebp - 0x980]
lea eax, [ebp - 0x514]
push eax
push 0x104
push edi
call fcn.004a71e2
mov eax, dword [ebp - 0x978]
push eax
push 0x104
push edi
call fcn.004caf60
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.0045992a
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.0045992a
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.0045992a
mov esp, ebp
pop ebp
ret