Function at 0x468ba4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc34
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c8], ebx
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040503c
mov eax, dword [ebp - 8]
call fcn.0040503c
xor eax, eax
push ebp
push 0x468eab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404f98
jne 0x468c1e
push 0xa
push 3
mov ecx, dword [ebp - 4]
mov edx, 0x390
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x468e80
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409634
mov ebx, eax
mov dword [ebp - 0x26f], ebx
cmp ebx, 0xffffffff
jne 0x468c4d
push 2
push 1
mov ecx, dword [ebp - 4]
mov edx, 0x391
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x468e80
mov ecx, 2
xor edx, edx
mov eax, ebx
call fcn.00409710
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x468c83
mov eax, ebx
call fcn.00409754
push 0xa
push 2
mov ecx, dword [ebp - 4]
mov edx, 0x392
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x468e80
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00409710
lea eax, [ebp - 0x123]
push eax
push 0
push 0x468ec0
mov eax, dword [esi + 0x140]
call fcn.0040504c
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x3c0]
lea eax, [ebp - 0x123]
call fcn.00409e58
mov eax, dword [ebp - 0x3c0]
call fcn.0040968c
mov edi, eax
mov dword [ebp - 0x3bb], edi
test edi, edi
jge 0x468ce1
mov eax, ebx
call fcn.00409754
jmp 0x468e80
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov eax, 0x4000
call fcn.00402aa0
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, 0x4000
mov eax, dword [ebp - 0x26f]
call fcn.004096b8
mov ebx, eax
test ebx, ebx
jge 0x468d38
mov eax, dword [ebp - 0x26f]
call fcn.00409754
mov eax, dword [ebp - 0x3bb]
call fcn.00409754
mov edx, 0x4000
mov eax, dword [ebp - 0x18]
call fcn.00402ad0
mov byte [ebp - 0x1e], 1
mov edx, edi
mov ecx, ebx
mov eax, dword [ebp - 0x3bb]
call fcn.004096e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x468d77
mov eax, dword [ebp - 0x26f]
call fcn.00409754
mov eax, dword [ebp - 0x3bb]
call fcn.00409754
mov edx, 0x4000
mov eax, dword [ebp - 0x18]
call fcn.00402ad0
mov byte [ebp - 0x1e], 1
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], eax
cmp word [esi + 0x8a], 0
je 0x468da0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [esi + 0x8c]
call dword [esi + 0x88]
lea edx, [ebp - 0x1d]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [0x47c738]
mov eax, dword [eax]
call fcn.0046231c
test ebx, ebx
je 0x468dcf
cmp ebx, dword [ebp - 0x14]
jne 0x468dcf
cmp byte [ebp - 0x1d], 0
jne 0x468dcf
cmp byte [ebp - 0x1e], 0
je 0x468cf6
mov eax, dword [ebp - 0x26f]
call fcn.00409754
mov eax, dword [ebp - 0x3bb]
call fcn.00409754
lea edx, [ebp - 0x3c4]
lea eax, [ebp - 0x123]
call fcn.00409e58
mov eax, dword [ebp - 0x3c4]
push eax
mov eax, dword [ebp - 4]
call fcn.0040975c
mov edx, eax
pop eax
call fcn.004097d4
mov edx, 0x4000
mov eax, dword [ebp - 0x18]
call fcn.00402ad0
mov al, byte [ebp - 0x1d]
mov byte [esi + 0x171], al
mov al, byte [ebp - 0x1d]
or al, byte [ebp - 0x1e]
je 0x468e49
lea edx, [ebp - 0x3c8]
lea eax, [ebp - 0x123]
call fcn.00409e58
mov eax, dword [ebp - 0x3c8]
call fcn.00409864
jmp 0x468e80
mov eax, dword [ebp - 8]
call fcn.004097c4
test al, al
je 0x468e5d
mov eax, dword [ebp - 8]
call fcn.00409864
lea edx, [ebp - 0x3cc]
lea eax, [ebp - 0x123]
call fcn.00409e58
mov eax, dword [ebp - 0x3cc]
mov edx, dword [ebp - 8]
call fcn.0040987c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468eb2
lea eax, [ebp - 0x3cc]
mov edx, 4
call fcn.00404bb0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bb0
ret