Function at 0x451fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f19e8
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x673f64]
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 [0x681063], 0
mov dword [ebp - 0x7f8], eax
je 0x452516
cmp dword [0x68107c], edi
jl 0x452516
push 0x208
lea eax, [ebp - 0x514]
push 0
push eax
call fcn.005ae810
add esp, 0xc
lea eax, [ebp - 0x514]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x452516
push 0x208
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.005ae810
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x208
push 0
push eax
call fcn.005ae810
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.005ae810
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.004317b0
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 0x452107
sub ecx, edx
lea eax, [ebp - 0x104]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x81c]
call fcn.004059d0
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.00422970
mov edx, dword [ebp - 0x808]
add esp, 0xc
cmp edx, 8
jb 0x452192
mov ecx, dword [ebp - 0x81c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452531
push edx
push ecx
call fcn.0058a7f7
add esp, 8
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x71c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0x7f8]
push 0
push esi
call fcn.00431750
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.005c027f
add esp, 4
mov dword [ebp - 0x804], eax
push dword [ebp - 0x7f8]
push 0
push dword [ebp - 0x7fc]
push esi
push eax
call fcn.0040ffe0
add esp, 0x14
lea eax, [ebp - 0x7f4]
push 0xb0
push 0
push eax
call fcn.005ae810
mov dword [ebp - 0x7f4], 0x6471b8
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.0040e250
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.0040cfc0
push ecx
push 0xa
lea eax, [ebp - 0x71c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x7f0]
call fcn.0040ce80
test eax, eax
lea ecx, [ebp - 0x7f4]
mov eax, dword [ebp - 0x7f4]
mov eax, dword [eax + 4]
je 0x4522f2
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x452306
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.00407950
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.00406440
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 0x452391
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x734]
call fcn.0040d1b0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x734]
cmp dword [ebp - 0x720], 0x10
lea ecx, [ebp - 0x7f4]
mov edx, 0x64a89c
cmovae esi, dword [ebp - 0x734]
call fcn.0040e5c0
mov edx, esi
mov ecx, eax
call fcn.004526c0
mov edx, 0x644ce4
mov ecx, eax
call fcn.0040e5c0
mov edx, dword [edi*4 + 0x6421a0]
mov ecx, eax
call fcn.0040e5c0
mov edx, 0x64a894
mov ecx, eax
call fcn.0040e5c0
mov esi, dword [ebp - 0x804]
mov ecx, eax
mov edx, esi
call fcn.0040e5c0
mov edx, 0x648340
mov ecx, eax
call fcn.004526c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x720]
cmp edx, 0x10
jb 0x45245a
mov ecx, dword [ebp - 0x734]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452450
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452536
push edx
push ecx
call fcn.0058a7f7
add esp, 8
lea ecx, [ebp - 0x7f0]
call fcn.0040cd90
test eax, eax
jne 0x452494
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.00407950
push esi
call fcn.005bfc6b
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.0040b360
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.0059d94b
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.0058a7e9
mov esp, ebp
pop ebp
ret
call fcn.005b1b1f
call fcn.005b1b1f
int3