Function at 0x414002
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41b736
call fcn.00403df8
sub esp, 0x14c
xor dl, dl
push ebx
push esi
push edi
mov edi, ecx
call fcn.004170f8
xor ebx, ebx
inc ebx
test al, al
jne 0x41407c
mov dl, bl
mov ecx, edi
call fcn.004170f8
test al, al
jne 0x41407c
mov eax, dword [0x62fc6c]
test eax, eax
je 0x41403f
call eax
jmp 0x41406a
cmp dword [0x62e3c8], 0
je 0x414067
push 0x18
pop eax
call fcn.0040171b
push esp
push 0x629b2c
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
jmp 0x41407c
or eax, 0xffffffff
cmp eax, 2
je 0x4142a8
cmp eax, 3
je 0x4142a8
mov eax, dword [0x62f868]
test eax, eax
je 0x41408a
push edi
call eax
jmp 0x4140b4
cmp dword [0x62e3c8], 0
je 0x4140b2
push 0x14
pop eax
call fcn.0040171b
push esp
push 0x629b44
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
jmp 0x4140bc
xor eax, eax
test eax, eax
jne 0x4142a8
xor ecx, ecx
push 0xf
pop eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x24], cl
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x3c], cl
mov byte [ebp - 4], bl
lea eax, [ebp - 0x158]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x414125
cmp byte [ebp - 0x158], 0
jne 0x414108
xor eax, eax
jmp 0x414115
lea eax, [ebp - 0x158]
push eax
call fcn.00401566
pop ecx
push eax
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404934
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414167
cmp dword [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x24]
jae 0x414138
lea ecx, [ebp - 0x24]
cmp byte [ecx + eax - 1], 0x5c
jne 0x414167
dec eax
push eax
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.00410dd8
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.00410d71
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.004047bf
cmp dword [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x24]
jae 0x414173
lea ecx, [ebp - 0x24]
mov dl, bl
call fcn.004170f8
test al, al
je 0x41420a
call fcn.00401bc6
mov esi, eax
shl esi, 0xf
call fcn.00401bc6
or eax, esi
push eax
lea eax, [ebp - 0x54]
push 0x629b58
push eax
call fcn.0041218c
add esp, 0xc
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x24]
call fcn.004059d9
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.004047bf
mov eax, dword [0x62e7e0]
test eax, eax
je 0x4141e4
cmp dword [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x24]
jae 0x4141d6
lea ecx, [ebp - 0x24]
push ebx
push ecx
push edi
call eax
mov ecx, eax
mov eax, dword [0x62e7e0]
jmp 0x41421e
cmp dword [0x62e3c8], 0
je 0x41421c
push 0x14
pop eax
call fcn.0040171b
push esp
push 0x629b64
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
mov eax, dword [0x62e7e0]
test eax, eax
je 0x414263
push 4
push 0
push edi
call eax
jmp 0x41428b
xor ecx, ecx
test ecx, ecx
je 0x41420f
test eax, eax
je 0x41423b
cmp dword [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x24]
jae 0x414232
lea ecx, [ebp - 0x24]
push 4
push 0
push ecx
call eax
jmp 0x414290
cmp dword [0x62e3c8], 0
je 0x414290
push 0x14
pop eax
call fcn.0040171b
push esp
push 0x629b64
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
jmp 0x414290
cmp dword [0x62e3c8], 0
je 0x414289
push 0x14
pop eax
call fcn.0040171b
push esp
push 0x629b64
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
xor eax, eax
test eax, eax
setne bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004047bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004047bf
mov al, bl
lea esp, [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret