Function at 0x463774
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463ed0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.004042a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 2
jge 0x46386c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x463808
xor ecx, ecx
mov edx, 0x2776
mov eax, dword [ebp - 4]
call fcn.00464dd8
jmp 0x463eaa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.00408c4c
test al, al
jne 0x46382b
xor ecx, ecx
mov edx, 0x2af9
mov eax, dword [ebp - 4]
call fcn.00464dd8
jmp 0x463eaa
mov eax, dword [ebp - 4]
call fcn.004677dc
test eax, eax
jne 0x46383f
mov eax, dword [ebp - 4]
call fcn.00462f60
mov eax, dword [ebp - 4]
call fcn.004677dc
test eax, eax
jne 0x46386c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x463eaa
xor ecx, ecx
mov edx, 0x2afa
mov eax, dword [ebp - 4]
call fcn.00464dd8
jmp 0x463eaa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
jne 0x463eaa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x4638b5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x78], 0
jne 0x4638b5
mov eax, dword [ebp - 4]
cmp word [eax + 0x19a], 0
jne 0x4638b5
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x140], edx
xor ecx, ecx
mov edx, 0x2906
mov eax, dword [ebp - 4]
call fcn.00464dd8
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
je 0x463936
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
jne 0x463901
lea eax, [ebp - 0x239]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x239]
mov ecx, 0x201
call fcn.00404510
jmp 0x463915
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x110]
mov eax, dword [ebp - 4]
call fcn.00468b64
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 4]
call fcn.00465b78
test eax, eax
je 0x463944
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 0
jmp 0x463eaa
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.00404338
xor eax, eax
push ebp
push 0x463975
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x164]
xor ecx, ecx
mov edx, dword [0x485f04]
call fcn.0045d00c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46399e
cmp dword [ebp - 0x14], 0
jne 0x4639b0
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 0
jmp 0x463eaa
xor eax, eax
push ebp
push 0x463e54
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x463d6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x94
call fcn.004080f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x16c], eax
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00467d9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x463a79
mov eax, dword [ebp - 4]
test byte [eax + 0x6a], 0x20
je 0x463a16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00464af4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00464bac
test al, al
jne 0x463a42
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
mov ecx, 0x2908
mov dl, 1
mov eax, dword [0x45eb58]
call fcn.00465164
call fcn.00403c58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00404560
inc eax
call fcn.00409390
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00404560
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x6c]
call fcn.00409260
jmp 0x463a81
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 3
lea eax, [eax + eax*8]
call fcn.004080f4
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x463b9c
lea ecx, [ebp - 0x240]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x240]
mov edx, 0x463ee8
call fcn.004046ac
je 0x463b9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x463b89
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*8]
add dword [ebp - 0x20], eax
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x244]
call fcn.00404560
inc eax
call fcn.00409390
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x248]
call fcn.00404560
inc eax
push eax
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
pop ecx
call fcn.00409260
inc dword [ebp - 0x10]
dec dword [ebp - 0x2c]
jne 0x463af8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x40], eax
jmp 0x463ba4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 0x40], edx
cmp dword [ebp - 8], 1
jne 0x463c65
mov eax, dword [ebp - 4]
call fcn.004677dc
dec eax
test eax, eax
jl 0x463c65
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x10]
call fcn.00414ea8
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x250]
call fcn.00404760
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x2a]
call fcn.00404760
mov edx, eax
pop eax
call fcn.004083a8
test eax, eax
jne 0x463c59
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x50], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x40], 1
jmp 0x463c65
inc dword [ebp - 0x10]
dec dword [ebp - 0x2c]
jne 0x463bca
cmp dword [ebp - 8], 2
jne 0x463cbd
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x5c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x50], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x90], 7
mov eax, dword [ebp - 4]
add eax, 0x8c
call fcn.004042a0
cmp dword [ebp - 8], 0
je 0x463cf2
cmp dword [ebp - 8], 0
jle 0x463d32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
cmp dword [eax + 0x50], 0
je 0x463d32
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x16c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x164]
call fcn.0045ccb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jge 0x463d32
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov ecx, 0x463ef4
mov edx, 0x2775
mov eax, dword [ebp - 4]
call fcn.00464dd8
cmp dword [ebp - 8], 0
jle 0x463d4f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 1
je 0x463d4f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
call fcn.00417e50
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
jle 0x463d63
mov eax, dword [ebp - 0x1c]
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463daa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463e5e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x44]
call fcn.004093dc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
call fcn.004093dc
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x6c], 0
je 0x463df8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x6c]
call fcn.004093dc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
dec eax
cmp eax, 0
jl 0x463e2f
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*8]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.004093dc
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x463e07
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
call fcn.0040270c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call fcn.0040270c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x16c], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ed7
lea eax, [ebp - 0x250]
mov edx, 5
call fcn.004042c4
lea eax, [ebp - 0x1c]
call fcn.004042a0
ret