Function at 0x467030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532d00
mov eax, dword fs:[0]
push eax
sub esp, 0xc1c
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb5c], eax
mov dword [ebp - 0xb60], ecx
lea edx, [ebp - 0xb58]
xor edi, edi
push edx
mov dword [ebp - 4], edi
call fcn.00447e50
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov ebx, 0x10
cmp dword [ebp + 0x1c], ebx
jae 0x467092
lea ecx, [ebp + 8]
lea esi, [ebp - 0xb58]
call fcn.00448030
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
push 0x104
lea edx, [ebp - 0x117]
push edi
push edx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x118], 0
call fcn.004c5420
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x118]
push ecx
push edi
push 0x55be1c
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
lea eax, [ebp - 0x118]
push eax
mov ecx, esi
call fcn.00448110
test eax, eax
je 0x4672a5
push 0x20
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0xc28]
push edx
call fcn.00466a40
mov byte [ebp - 4], 2
cmp dword [ebp - 0xbc4], edi
je 0x46727d
push 2
lea esi, [ebp - 0xc28]
call fcn.00466970
mov eax, dword [ebp - 0xc28]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xc1c], 6
jne 0x46716c
mov ecx, dword [ebp + eax - 0xbf0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
push 1
push 1
push edi
push edi
lea eax, [ebp - 0xb78]
push eax
call edx
jmp 0x467195
mov eax, dword [0x5489d8]
mov ecx, dword [0x5489dc]
mov dword [ebp - 0xb78], eax
mov dword [ebp - 0xb74], ecx
mov dword [ebp - 0xb70], edi
mov dword [ebp - 0xb6c], edi
mov dword [ebp - 0xb68], edi
mov edi, dword [ebp - 0xb78]
add edi, dword [ebp - 0xb70]
lea esi, [edi + 1]
push esi
call fcn.004bf80b
add esp, 4
push esi
mov ebx, eax
push 0
push ebx
call fcn.004c5420
add esp, 0xc
push 0
lea esi, [ebp - 0xc28]
call fcn.00466970
push 0
push edi
push ebx
mov ecx, esi
push ecx
call fcn.00446660
lea eax, [ebp - 0xc18]
call fcn.00446820
test eax, eax
jne 0x467218
mov edx, dword [ebp - 0xc28]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xc1c]
lea ecx, [ebp + ecx - 0xc28]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x467206
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x467218
push 0
call fcn.00427d40
mov eax, dword [ebp - 0xb60]
mov ecx, dword [ebp - 0xb5c]
mov dword [eax], edi
mov dword [ecx], ebx
lea ecx, [ebp - 0xbc0]
mov byte [ebp - 4], 1
call fcn.00466bb0
lea edx, [ebp - 0xbc0]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00502b53
add esp, 4
lea eax, [ebp - 0xb58]
push eax
mov byte [ebp - 4], 0
call fcn.00447f20
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x467279
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf135
add esp, 4
mov al, 1
jmp 0x4672cf
lea ecx, [ebp - 0xbc0]
mov byte [ebp - 4], 1
call fcn.00466bb0
lea edx, [ebp - 0xbc0]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00502b53
add esp, 4
lea eax, [ebp - 0xb58]
push eax
mov byte [ebp - 4], 0
call fcn.00447f20
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], ebx
jb 0x4672cd
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf135
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret