Function at 0x452490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f29b8
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x7fc], esi
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x800], 0
cmp byte [0x683073], 0
mov dword [ebp - 0x7f8], eax
je 0x4529d6
cmp dword [0x68308c], edi
jl 0x4529d6
push 0x208
lea eax, [ebp - 0x514]
push 0
push eax
call fcn.005aecd0
add esp, 0xc
lea eax, [ebp - 0x514]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4529d6
push 0x208
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.005aecd0
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x208
push 0
push eax
call fcn.005aecd0
add esp, 0xc
lea eax, [ebp - 0x72c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0xa0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.005aecd0
movzx eax, word [ebp - 0x72c]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x72a]
push eax
movzx eax, word [ebp - 0x726]
push eax
push str._02d_02d_4d
lea eax, [ebp - 0x104]
push 0x50
push eax
call fcn.004317e0
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x81c], 0
add esp, 0x18
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4525c7
sub ecx, edx
lea eax, [ebp - 0x104]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x81c]
call fcn.004059e0
cmp dword [ebp - 0x808], 8
lea eax, [ebp - 0x81c]
cmovae eax, dword [ebp - 0x81c]
push eax
lea eax, [ebp - 0x30c]
push str.productanalytics__s.log
push eax
call fcn.00422990
mov edx, dword [ebp - 0x808]
add esp, 0xc
cmp edx, 8
jb 0x452652
mov ecx, dword [ebp - 0x81c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452648
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4529f1
push edx
push ecx
call fcn.0058acab
add esp, 8
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x71c]
push eax
call dword [0x67d050]
push dword [ebp - 0x7f8]
push 0
push esi
call fcn.00431780
xor ecx, ecx
add esp, 0xc
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005c075e
add esp, 4
mov dword [ebp - 0x804], eax
push dword [ebp - 0x7f8]
push 0
push dword [ebp - 0x7fc]
push esi
push eax
call fcn.0040fff0
add esp, 0x14
lea eax, [ebp - 0x7f4]
push 0xb0
push 0
push eax
call fcn.005aecd0
mov dword [ebp - 0x7f4], 0x6485d0
mov dword [ebp - 0x784], 0
mov dword [ebp - 0x764], 0
mov dword [ebp - 0x760], 0
mov dword [ebp - 0x75c], 0
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7f0]
mov dword [ebp - 0x800], 3
lea ecx, [ebp - 0x78c]
mov dword [ebp - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x790], 0x60
push eax
call fcn.0040e260
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x7f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x7f8], eax
lea ecx, [ebp - 0x7f0]
call fcn.0040cfd0
push ecx
push 0xa
lea eax, [ebp - 0x71c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x7f0]
call fcn.0040ce90
test eax, eax
lea ecx, [ebp - 0x7f4]
mov eax, dword [ebp - 0x7f4]
mov eax, dword [eax + 4]
je 0x4527b2
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4527c6
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00407960
lea eax, [ebp - 0x744]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x736]
push eax
movzx eax, word [ebp - 0x738]
push eax
movzx eax, word [ebp - 0x73a]
push eax
movzx eax, word [ebp - 0x73c]
push eax
movzx eax, word [ebp - 0x73e]
push eax
movzx eax, word [ebp - 0x742]
push eax
movzx eax, word [ebp - 0x744]
push eax
push str._4d_02d_02d__02d:_02d:_02d__3d
lea eax, [ebp - 0x64]
push 0x50
push eax
call fcn.00406450
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x734], 0
add esp, 0x28
mov dword [ebp - 0x724], 0
mov dword [ebp - 0x720], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x734], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452851
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x734]
call fcn.0040d1c0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x734]
cmp dword [ebp - 0x720], 0x10
lea ecx, [ebp - 0x7f4]
mov edx, 0x64c2fc
cmovae esi, dword [ebp - 0x734]
call fcn.0040e5d0
mov edx, esi
mov ecx, eax
call fcn.00452b80
mov edx, 0x6460d4
mov ecx, eax
call fcn.0040e5d0
mov edx, dword [edi*4 + 0x643530]
mov ecx, eax
call fcn.0040e5d0
mov edx, 0x64c2f4
mov ecx, eax
call fcn.0040e5d0
mov esi, dword [ebp - 0x804]
mov ecx, eax
mov edx, esi
call fcn.0040e5d0
mov edx, 0x649758
mov ecx, eax
call fcn.00452b80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x720]
cmp edx, 0x10
jb 0x45291a
mov ecx, dword [ebp - 0x734]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452910
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4529f6
push edx
push ecx
call fcn.0058acab
add esp, 8
lea ecx, [ebp - 0x7f0]
call fcn.0040cda0
test eax, eax
jne 0x452954
mov eax, dword [ebp - 0x7f4]
lea ecx, [ebp - 0x7f4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00407960
push esi
call fcn.005c014a
mov eax, dword [ebp - 0x7f4]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x7f8], eax
lea ecx, [ebp - 0x7f0]
call fcn.0040b370
mov eax, dword [ebp - 0x7f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x7f8], eax
lea eax, [ebp - 0x78c]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0059de0b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
call fcn.005b1fdf
int3