Function at 0x406e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511b25
mov eax, dword fs:[0]
push eax
mov eax, 0x38f4
call fcn.0050fbd0
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38e4], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3748]
xor esi, esi
mov dword [ebp - 0x3900], eax
mov dword [ebp - 0x38c4], esi
call fcn.00458fc0
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x38dc]
push 0xa
xor eax, eax
mov dword [ebp - 0x38cc], esi
mov dword [ebp - 0x38c8], esi
push str.2345PCSafe
mov dword [ebp - 0x38cc], esi
mov dword [ebp - 0x38c8], 7
mov word [ebp - 0x38dc], ax
call fcn.004033d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38dc]
cmp dword [ebp - 0x38c8], 8
lea ecx, [ebp - 0x3748]
push dword [ebp - 0x38cc]
cmovae eax, dword [ebp - 0x38dc]
push eax
call fcn.004033d0
lea ecx, [ebp - 0x38dc]
mov byte [ebp - 4], 2
call fcn.00403370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x36e8]
push 2
xor eax, eax
mov dword [ebp - 0x36d8], esi
mov dword [ebp - 0x36d4], esi
push 0x536038
mov dword [ebp - 0x36d8], esi
mov dword [ebp - 0x36d4], 7
mov word [ebp - 0x36e8], ax
call fcn.004033d0
lea eax, [ebp - 0x3700]
mov byte [ebp - 4], 6
push eax
call fcn.0045b5d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3690]
xor eax, eax
mov dword [ebp - 0x3680], esi
push eax
mov dword [ebp - 0x367c], esi
push 0x531de0
mov dword [ebp - 0x3680], esi
mov dword [ebp - 0x367c], 7
mov word [ebp - 0x3690], ax
call fcn.004033d0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x36f0], 0x16
jb 0x40701d
xor eax, eax
mov dword [ebp - 0x38cc], esi
cmp dword [ebp - 0x36ec], 8
lea ecx, [ebp - 0x38dc]
mov word [ebp - 0x38dc], ax
lea eax, [ebp - 0x3700]
cmovae eax, dword [ebp - 0x3700]
push 0x16
mov dword [ebp - 0x38c8], esi
push eax
mov dword [ebp - 0x38cc], esi
mov dword [ebp - 0x38c8], 7
call fcn.004033d0
mov esi, 1
mov dword [ebp - 0x38c4], esi
lea ecx, [ebp - 0x3690]
mov byte [ebp - 4], 9
call fcn.00403370
movups xmm0, xmmword [ebp - 0x38dc]
xor eax, eax
mov word [ebp - 0x38dc], ax
movups xmmword [ebp - 0x3690], xmm0
movq xmm0, qword [ebp - 0x38cc]
movq qword [ebp - 0x3680], xmm0
mov dword [ebp - 0x38cc], 0
mov dword [ebp - 0x38c8], 7
lea ecx, [ebp - 0x38dc]
mov byte [ebp - 4], 0xa
call fcn.00403370
mov byte [ebp - 4], 8
mov eax, dword [0x5789d0]
test al, 1
jne 0x40704c
or eax, 1
mov dword [0x5789d0], eax
mov byte [ebp - 4], 0xe
call fcn.00414120
push 0x52eff0
mov byte [ebp - 4], 0xe
call fcn.0050f637
add esp, 4
mov byte [ebp - 4], 8
push 0x578acc
lea ecx, [ebp - 0x38c0]
call fcn.00415380
or esi, 2
mov dword [ebp - 0x38c4], esi
mov byte [ebp - 4], 0x11
xor eax, eax
movups xmm0, xmmword [ebp - 0x37e0]
mov dword [ebp - 0x3708], 0
mov dword [ebp - 0x3704], 0
movups xmmword [ebp - 0x3718], xmm0
mov word [ebp - 0x37e0], ax
movq xmm0, qword [ebp - 0x37d0]
movq qword [ebp - 0x3708], xmm0
mov dword [ebp - 0x37d0], 0
mov dword [ebp - 0x37cc], 7
lea ecx, [ebp - 0x38c0]
mov byte [ebp - 4], 0x13
call fcn.00407a70
mov eax, dword [0x5789d0]
test al, 1
jne 0x4070f6
or eax, 1
mov dword [0x5789d0], eax
mov byte [ebp - 4], 0x14
call fcn.00414120
push 0x52eff0
mov byte [ebp - 4], 0x14
call fcn.0050f637
add esp, 4
mov byte [ebp - 4], 0x13
push 0x578acc
lea ecx, [ebp - 0x38c0]
call fcn.00415380
or esi, 4
mov dword [ebp - 0x38c4], esi
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x38c0]
mov eax, dword [ebp - 0x37a8]
mov dword [ebp - 0x38fc], eax
mov byte [ebp - 4], 0x13
call fcn.00407a70
movaps xmm0, xmmword [0x543300]
lea eax, [ebp - 0x3730]
push eax
lea ecx, [ebp - 0x38d4]
movups xmmword [ebp - 0x38d4], xmm0
call fcn.004bba70
lea eax, [ebp - 0x3730]
mov byte [ebp - 4], 0x17
push eax
call fcn.00407630
lea eax, [ebp - 0x3864]
push eax
call fcn.004b8150
add esp, 4
test al, al
jne 0x4071ad
xor eax, eax
mov dword [ebp - 0x3668], 0
push eax
mov dword [ebp - 0x3664], 0
mov dword [ebp - 0x3668], 0
mov dword [ebp - 0x3664], 7
mov word [ebp - 0x3678], ax
push 0x531de0
jmp 0x407257
push 0x1000
lea eax, [ebp - 0x1660]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3850]
push eax
call fcn.004b80c0
movzx eax, al
push eax
push dword [ebp - 0x3858]
lea eax, [ebp - 0x1660]
push dword [ebp - 0x385c]
push dword [ebp - 0x3860]
push str._d._d._d._d._s
push 0xffffffffffffffff
push 0x800
push eax
call fcn.00445790
add esp, 0x24
mov dword [ebp - 0x3668], 0
xor eax, eax
mov dword [ebp - 0x3664], 0
lea ecx, [ebp - 0x1660]
mov dword [ebp - 0x3668], 0
mov dword [ebp - 0x3664], 7
lea edx, [ecx + 2]
mov word [ebp - 0x3678], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407240
sub ecx, edx
lea eax, [ebp - 0x1660]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3678]
call fcn.004033d0
or esi, 8
mov dword [ebp - 0x38c4], esi
lea eax, [ebp - 0x3678]
mov byte [ebp - 4], 0x18
push eax
call fcn.00407630
lea eax, [ebp - 0x36a0]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x36a0], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x3694]
push eax
movzx eax, word [ebp - 0x3696]
push eax
movzx eax, word [ebp - 0x3698]
push eax
movzx eax, word [ebp - 0x369a]
push eax
movzx eax, word [ebp - 0x369e]
push eax
movzx eax, word [ebp - 0x36a0]
push eax
lea eax, [ebp - 0x218]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
mov dword [ebp - 0x36c0], 0
xor eax, eax
mov dword [ebp - 0x36bc], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x36c0], 0
mov dword [ebp - 0x36bc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x36d0], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407350
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x36d0]
call fcn.004033d0
lea eax, [ebp - 0x36d0]
mov byte [ebp - 4], 0x19
push eax
call fcn.00407630
cmp dword [edi + 0x60], 8
lea edx, [edi + 0x4c]
jb 0x40738d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x36a8], 0
xor eax, eax
mov dword [ebp - 0x36a4], 0
mov dword [ebp - 0x36a8], 0
mov dword [ebp - 0x36a4], 7
mov word [ebp - 0x36b8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4073c3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x36b8]
call fcn.004033d0
lea eax, [ebp - 0x36b8]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00407630
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 0x38ec], eax
call esi
push 0x2000
mov dword [ebp - 0x38e8], eax
lea eax, [ebp - 0x3660]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x8f
lea edi, [ebp - 0x660]
mov esi, str._s_reqid_sapp.project_id_dapp.app_version_sapp.channel_s_ddevice.device_typepcdevice.oswindowsdevice.osv_sdevice.uid_sdevice.uidx_sdata.client_time_sdata.htl11extra_suser.keywordsdevice.fbl_d_ddevice.macdevice.mac_md5device.positiondata.rdata.directerurl
lea eax, [ebp - 0x36b8]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
cmp dword [ebp - 0x36a4], 8
cmovae eax, dword [ebp - 0x36b8]
cmp dword [ebp - 0x36bc], 8
mov dword [ebp - 0x38f0], eax
lea eax, [ebp - 0x36d0]
cmovae eax, dword [ebp - 0x36d0]
cmp dword [ebp - 0x36ec], 8
mov dword [ebp - 0x38f4], eax
lea eax, [ebp - 0x3700]
cmovae eax, dword [ebp - 0x3700]
mov dword [ebp - 0x38f8], eax
mov eax, dword [ebp - 0x38e4]
add eax, 0x64
movsw word es:[edi], word [esi]
mov dword [ebp - 0x38e0], eax
cmp dword [eax + 0x14], 8
jb 0x40749e
mov eax, dword [eax]
mov dword [ebp - 0x38e0], eax
push dword [ebp - 0x38e8]
cmp dword [ebp - 0x3664], 8
lea edi, [ebp - 0x3678]
push dword [ebp - 0x38ec]
cmovae edi, dword [ebp - 0x3678]
lea esi, [ebp - 0x36e8]
push dword [ebp - 0x38f0]
cmp dword [ebp - 0x36d4], 8
lea edx, [ebp - 0x3730]
push dword [ebp - 0x38f4]
cmovae esi, dword [ebp - 0x36e8]
lea ecx, [ebp - 0x3690]
push dword [ebp - 0x38f8]
cmp dword [ebp - 0x371c], 8
lea eax, [ebp - 0x3718]
push dword [ebp - 0x38e0]
cmovae edx, dword [ebp - 0x3730]
cmp dword [ebp - 0x367c], 8
push edi
mov edi, dword [ebp - 0x38e4]
cmovae ecx, dword [ebp - 0x3690]
cmp dword [ebp - 0x3704], 8
push dword [edi + 0x7c]
cmovae eax, dword [ebp - 0x3718]
push esi
push edx
push dword [ebp - 0x38fc]
push ecx
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x3660]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x3660]
add esp, 0x3c
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x407560
mov ecx, dword [ebp - 0x3900]
lea eax, [ebp - 0x3660]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004033d0
lea ecx, [ebp - 0x36b8]
mov byte [ebp - 4], 0x1b
call fcn.00403370
lea ecx, [ebp - 0x36d0]
mov byte [ebp - 4], 0x1f
call fcn.00403370
lea ecx, [ebp - 0x3678]
mov byte [ebp - 4], 0x23
call fcn.00403370
lea ecx, [ebp - 0x3730]
mov byte [ebp - 4], 0x27
call fcn.00403370
lea ecx, [ebp - 0x3718]
mov byte [ebp - 4], 0x2b
call fcn.00403370
lea ecx, [ebp - 0x3690]
mov byte [ebp - 4], 0x2f
call fcn.00403370
lea ecx, [ebp - 0x3700]
mov byte [ebp - 4], 0x33
call fcn.00403370
lea ecx, [ebp - 0x36e8]
mov byte [ebp - 4], 0x37
call fcn.00403370
lea ecx, [ebp - 0x3748]
mov dword [ebp - 4], 0xffffffff
call fcn.00459010
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
ret 4