Function at 0x620828
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x620bab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x98], edx
mov eax, dword [ebp - 0x10]
call fcn.0060079c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xeb]
mov dword [ebp - 0x18], eax
xor esi, esi
lea eax, [ebp - 0xc]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], eax
mov bl, 1
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.006011a0
xor eax, eax
push ebp
push 0x620b44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xa1], 0
jne 0x6208b4
push 1
mov ecx, 0x2776
mov dl, 1
mov eax, dword [0x5fc370]
call fcn.005fc574
call fcn.00407228
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x72]
cmp dword [eax + 4], 0
jne 0x6208c8
mov eax, dword [ebp - 0x10]
call fcn.0061b094
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x72]
cmp dword [eax + 4], 0
jne 0x6208f7
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x13], 0
jne 0x6208f7
push 1
mov ecx, 0x2afa
mov dl, 1
mov eax, dword [0x5fc370]
call fcn.005fc574
call fcn.00407228
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.006011a0
test bl, bl
je 0x620a0e
lea eax, [ebp - 4]
call fcn.00407b30
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xd6], 0
je 0x620981
mov eax, dword [ebp - 0x10]
test byte [eax + 0xda], 0x10
jne 0x620981
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd6]
mov dl, 1
call fcn.005f95fc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00423070
mov eax, dword [ebp - 0x10]
test byte [eax + 0xda], 0x20
je 0x62095b
mov eax, dword [ebp - 4]
call fcn.005f9af4
mov eax, dword [ebp - 4]
call fcn.005f9688
test al, al
jne 0x620981
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x2908
mov dl, 1
mov eax, dword [0x5fc370]
call fcn.005fc66c
call fcn.00407228
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa1]
call fcn.00407f58
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x72]
call fcn.006129dc
dec eax
jle 0x620a0e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x68], 0
jne 0x6209e3
lea eax, [ebp - 8]
mov edx, 0x106
call fcn.00408d48
mov eax, dword [ebp - 8]
call fcn.00408bc4
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov eax, dword [ebp - 8]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00408c1c
lea eax, [ebp - 8]
call fcn.00407b30
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x68]
mov dl, 1
call fcn.005f95fc
push 1
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xa1]
mov eax, dword [ebp - 0x10]
call fcn.00616a90
test eax, eax
sete bl
test bl, bl
je 0x620a1c
mov eax, dword [ebp - 0x10]
call fcn.0061d324
mov esi, eax
test esi, esi
jle 0x620b3a
xor eax, eax
push ebp
push 0x620b33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00621148
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.006214a4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0x5a
call fcn.00407b30
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4f], 0
je 0x620a95
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xe7], 0
jne 0x620a95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x31]
cmp word [eax + 0xf3], 0
jne 0x620a95
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xeb], edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov edx, 0x2906
mov eax, dword [ebp - 0x10]
call fcn.00600d1c
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0xc9]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0061d2c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620b3a
mov eax, dword [ebp - 0x10]
call fcn.0061d368
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1b]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xef]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x72]
call fcn.006129dc
dec eax
jle 0x620af6
mov eax, dword [ebp - 0xc]
call fcn.00422920
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0061ed7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4f], 0
je 0x620b32
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xe7], 0
jne 0x620b32
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x31]
cmp word [eax + 0xf3], 0
jne 0x620b32
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xeb], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x620b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620bb2
lea eax, [ebp - 0x1c]
call fcn.00407b30
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407b90
ret