Function at 0x4134eb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x46e32e
call fcn.00450ec5
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 0x413561
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.0044bafb
add ebp, 0x414
leave
ret 0x18
mov ecx, dword [ebp + 0x424]
call fcn.00413739
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.0044bba2
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4135a1
push eax
call fcn.0040b362
jmp 0x4135a3
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.00402676
mov eax, dword [ebx + 4]
lea edi, [eax + 0xa8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401bfe
mov eax, edi
call fcn.0040d54b
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004026f8
push 0x280c
call fcn.0044bba2
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 0x41361a
mov eax, dword [ecx]
inc dword [ebp - 0x18]
lea ecx, [eax + 0x2808]
cmp dword [ecx], edx
jne 0x413615
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.00402676
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 4]
lea edi, [ecx + 0xb0]
call fcn.00401bfe
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004026f8
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.0044c679
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4136df
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x4136cc
test eax, eax
je 0x4136cc
lea eax, [ebp]
push eax
jmp 0x4136e2
or esi, 0xffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x41353c
push dword [ebp - 0x14]
lea eax, [esi + 0x1004]
push edi
push eax
call fcn.0044c679
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x41370f
push dword [ebp - 0x1c]
add esi, 0x2004
push 0x400
push esi
call fcn.0044c679
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.0040b722
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 8], ecx
test eax, eax
jne 0x4136cf
jmp 0x4136cc