Function at 0x10007b36
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x14
mov eax, 0x10040442
call fcn.1001a87f
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov ebx, ecx
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
call fcn.1001a410
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
mov dword [ebp - 0x18], 0x100444e4
mov dword [ebp - 0x14], 0x100444b8
mov dword [ebp - 0x20], 0x100444a4
mov dword [ebp - 0x1c], 0x10044484
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10044470
push esi
lea eax, [ebp]
push eax
call fcn.1000793d
cmp dword [0x10055b04], edi
je 0x10007c8b
lea ecx, [ebp - 0x14]
call fcn.1001305f
mov esi, 0x208
push esi
lea eax, [ebp + 0x208]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.1001a410
push esi
lea eax, [ebp + 0x410]
push edi
push eax
call fcn.1001a410
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
push 0x10044454
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call esi
push 0x10044420
push 0x1005562c
lea eax, [ebp + 0x410]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
call fcn.100130d7
pop ecx
test eax, eax
je 0x10007c7a
mov eax, dword [ebx]
push 0x10044404
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp + 0x208]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
push dword [ebp - 0x10]
call fcn.1001313b
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10013068
jmp 0x10007dc6
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, 0x208
push esi
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.1001a410
push esi
lea eax, [ebp + 0x410]
push 0
push eax
call fcn.1001a410
mov eax, dword [ebp - 0x10]
add esp, 0x18
push dword [ebp + eax - 0x18]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call edi
mov eax, dword [ebp - 0x10]
push dword [ebp + eax - 0x18]
lea eax, [ebp + 0x410]
push 0x1005562c
push eax
call edi
mov ecx, dword [ebp - 0x10]
push dword [ebp + ecx - 0x20]
mov eax, dword [ebx]
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp + 0x208]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 8
jl 0x10007c99
push esi
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.1001a410
push esi
lea eax, [ebp + 0x410]
push 0
push eax
call fcn.1001a410
add esp, 0x18
push 0x100443ec
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call edi
push 0x100443bc
push 0x1005562c
lea eax, [ebp + 0x410]
push eax
call edi
mov eax, dword [ebx]
push 0x100443ec
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp + 0x208]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
push esi
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.1001a410
push esi
lea eax, [ebp + 0x410]
push 0
push eax
call fcn.1001a410
add esp, 0x18
mov esi, 0x100443a4
push esi
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call edi
push 0x1004437c
push 0x1005562c
lea eax, [ebp + 0x410]
push eax
call edi
mov eax, dword [ebx]
push esi
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp + 0x208]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x61c
leave
ret