Function at 0x4134b5
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x487ba4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x46ea9c
call fcn.00451557
mov eax, dword [ebp + 0x41c]
mov edi, dword [ebp + 0x42c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x420]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x428]
mov ebx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x41352b
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0044c18b
add ebp, 0x414
leave
ret 0x18
mov ecx, dword [ebp + 0x424]
call fcn.00413703
lea eax, [ebx + 0x10]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
xor esi, esi
inc esi
push 0xb8
mov dword [ebp - 0x18], esi
call fcn.0044c232
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x41356b
push eax
call fcn.0040b319
jmp 0x41356d
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x2c]
mov dword [ebx + 4], eax
mov dword [eax + 0xa4], ecx
mov eax, dword [ebx + 4]
mov dword [eax + 0x9c], esi
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.0040266c
mov eax, dword [ebx + 4]
lea edi, [eax + 0xa8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401bf4
mov eax, edi
call fcn.0040d502
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004026ee
push 0x280c
call fcn.0044c232
mov esi, eax
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [esi], eax
mov dword [esi + 0x2808], edx
mov eax, dword [ebx + 0xc]
pop ecx
jmp 0x4135e4
mov eax, dword [ecx]
inc dword [ebp - 0x18]
lea ecx, [eax + 0x2808]
cmp dword [ecx], edx
jne 0x4135df
mov ecx, dword [ebp + 0x424]
push dword [ebp - 0x20]
mov dword [eax + 0x2808], esi
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
inc dword [eax]
mov eax, dword [ebx + 4]
mov dword [eax + 0xa0], ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0040266c
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 4]
lea edi, [ecx + 0xb0]
call fcn.00401bf4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004026ee
mov eax, dword [ebp + 0x424]
push dword [ebp - 0x24]
mov dword [esi + 0x2804], eax
mov edi, 0x800
lea eax, [esi + 4]
push edi
push eax
call fcn.0044cd09
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4136a9
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00451670
add esp, 0xc
lea eax, [ebp]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x413696
test eax, eax
je 0x413696
lea eax, [ebp]
push eax
jmp 0x4136ac
or esi, 0xffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x413506
push dword [ebp - 0x14]
lea eax, [esi + 0x1004]
push edi
push eax
call fcn.0044cd09
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4136d9
push dword [ebp - 0x1c]
add esi, 0x2004
push 0x400
push esi
call fcn.0044cd09
add esp, 0xc
push dword [ebp + 0x430]
mov esi, dword [ebp + 0x424]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 4]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.0040b6d9
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 8], ecx
test eax, eax
jne 0x413699
jmp 0x413696