Function at 0x4672f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532cb2
mov eax, dword fs:[0]
push eax
sub esp, 0xc2c
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0xb68], edi
mov dword [ebp - 0xb60], ebx
lea eax, [ebp - 0xb5c]
push eax
mov dword [ebp - 4], 1
call fcn.00447e50
mov byte [ebp - 4], 2
cmp dword [ebp + 0x1c], 0x10
mov ecx, dword [ebp + 8]
jae 0x46734e
lea ecx, [ebp + 8]
lea esi, [ebp - 0xb5c]
call fcn.00448030
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
push 0x104
lea eax, [ebp - 0x11b]
push ebx
push eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
mov byte [ebp - 0x11c], 0
call fcn.004c5420
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x11c]
push edx
push ebx
push 0x55be1c
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call fcn.00448110
test eax, eax
je 0x467556
push 0x20
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0xc34]
push eax
call fcn.00466a40
mov byte [ebp - 4], 3
cmp dword [ebp - 0xbd0], ebx
je 0x46752e
push 2
lea esi, [ebp - 0xc34]
call fcn.00466970
mov ecx, dword [ebp - 0xc34]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc28], 6
jne 0x467434
mov ecx, dword [ebp + eax - 0xbfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
push 1
push 1
push ebx
push ebx
lea eax, [ebp - 0xb84]
push eax
call edx
mov ecx, dword [ebp - 0xb7c]
mov eax, dword [ebp - 0xb84]
jmp 0x46744d
mov ecx, dword [0x5489dc]
mov eax, dword [0x5489d8]
mov dword [ebp - 0xb80], ecx
xor ecx, ecx
mov dword [ebp - 0xb78], ebx
add eax, ecx
lea esi, [eax + 1]
push esi
mov dword [ebp - 0xb64], eax
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 - 0xc34]
call fcn.00466970
mov edx, dword [ebp - 0xb64]
push 0
push edx
push ebx
mov eax, esi
push eax
call fcn.00446660
lea eax, [ebp - 0xc24]
call fcn.00446820
test eax, eax
jne 0x4674d2
mov ecx, dword [ebp - 0xc34]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xc28]
lea ecx, [ebp + ecx - 0xc34]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4674c0
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x4674d2
push 0
call fcn.00427d40
mov eax, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4674e8
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.0041c5b0
lea ecx, [ebp - 0xbcc]
mov dword [ebp - 0xb60], 1
mov byte [ebp - 4], 2
call fcn.00466bb0
lea edx, [ebp - 0xbcc]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00502b53
add esp, 4
jmp 0x46757a
lea ecx, [ebp - 0xbcc]
mov byte [ebp - 4], 2
call fcn.00466bb0
lea edx, [ebp - 0xbcc]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00502b53
add esp, 4
push ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push 0x55be1c
mov ecx, edi
mov byte [edi], 0
call fcn.0041c5b0
mov dword [ebp - 0xb60], 1
lea eax, [ebp - 0xb5c]
push eax
mov byte [ebp - 4], 1
call fcn.00447f20
mov byte [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x4675a0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bf135
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret