Function at 0x414211
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e5fc
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x487ba4]
xor eax, esp
mov dword [esp + 0x5b0], eax
push ebx
push esi
push edi
mov eax, dword [0x487ba4]
xor eax, esp
push eax
lea eax, [esp + 0x5c8]
mov dword fs:[0], eax
and dword [esp + 0x10], 0
cmp byte [0x48b738], 0
je 0x4142c8
push 0x47ab10
lea esi, [esp + 0x1c]
call fcn.004070da
and dword [esp + 0x5d0], 0
mov eax, esi
mov edi, 0x48b79c
push eax
mov ebx, edi
mov dword [esp + 0x14], 1
call fcn.0041500d
cmp dword [eax + 0x14], 0
je 0x4142cd
push 0x47ab28
lea esi, [esp + 0x50]
call fcn.004070da
mov eax, esi
mov dword [esp + 0x5d0], 1
push eax
mov dword [esp + 0x14], 3
call fcn.0041500d
cmp dword [eax + 0x14], 0
je 0x4142cd
mov byte [esp + 0x17], 0
jmp 0x4142d2
mov edi, 0x48b79c
mov byte [esp + 0x17], 1
push 2
pop ebx
test byte [esp + 0x10], bl
je 0x4142ed
and dword [esp + 0x10], 0xfffffffd
push 0
push 1
lea esi, [esp + 0x54]
call fcn.00401e74
or dword [esp + 0x5d0], 0xffffffff
test byte [esp + 0x10], 1
je 0x414309
push 0
push 1
lea esi, [esp + 0x20]
call fcn.00401e74
cmp byte [esp + 0x17], 0
jne 0x414f05
lea eax, [esp + 0xf4]
push eax
call fcn.0040d596
mov dword [esp + 0x5d0], ebx
push str.__xml_version_1.0__encoding_UTF_8____n
lea ebx, [esp + 0xf8]
call fcn.0040eb21
push str.wae_tracker
xor edx, edx
mov ecx, ebx
call fcn.004115f6
push 0x47ab28
lea esi, [esp + 0x1c]
call fcn.004070da
mov eax, esi
push eax
mov ebx, edi
mov byte [esp + 0x5d4], 3
call fcn.0041500d
cmp dword [eax + 0x18], 8
jb 0x414372
mov eax, dword [eax + 4]
jmp 0x414375
add eax, 4
push eax
push dword [esp + 0x134]
lea eax, [esp + 0xfc]
push eax
mov ecx, 0x47ab28
call fcn.00410bf5
push 0
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e74
push 0x47ab10
lea esi, [esp + 0x1c]
call fcn.004070da
mov eax, esi
push eax
mov ebx, edi
mov byte [esp + 0x5d4], 4
call fcn.0041500d
cmp dword [eax + 0x18], 8
jb 0x4143cf
mov eax, dword [eax + 4]
jmp 0x4143d2
add eax, 4
push eax
push dword [esp + 0x134]
lea eax, [esp + 0xfc]
push eax
mov ecx, 0x47ab10
call fcn.00410bf5
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e74
lea eax, [esp + 0xf4]
call fcn.0040f4f3
push 0xcc
lea ecx, [esp + 0x1c]
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 5
cmp dword [eax + 0x18], 8
jb 0x414430
mov eax, dword [eax + 4]
jmp 0x414433
add eax, 4
push str.waever
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e74
lea ecx, [esp + 0x10]
call fcn.0041ed31
mov byte [esp + 0x5d0], 6
push dword [eax]
lea esi, [esp + 0x1bc]
call fcn.004070da
mov byte [esp + 0x5d0], 8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004026ee
lea ecx, [esp + 0x34]
call fcn.0041edae
mov byte [esp + 0x5d0], 9
push dword [eax]
lea esi, [esp + 0x1a0]
call fcn.004070da
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004026ee
xor eax, eax
mov dword [esp + 0x17c], 7
mov dword [esp + 0x178], ebx
mov word [esp + 0x168], ax
mov byte [esp + 0x5d0], 0xc
xor edi, edi
cmp dword [esp + 0x1b0], ebx
jbe 0x41452c
lea eax, [esp + 0x19c]
call fcn.00403ae0
movzx eax, word [eax]
push eax
call fcn.0044c915
pop ecx
test eax, eax
je 0x414522
lea eax, [esp + 0x19c]
call fcn.00403ae0
movzx eax, word [eax]
xor ebx, ebx
push eax
inc ebx
lea esi, [esp + 0x168]
call fcn.00403f27
xor ebx, ebx
inc edi
cmp edi, dword [esp + 0x1b0]
jb 0x4144e7
cmp dword [esp + 0x1d0], 8
mov edx, dword [esp + 0x1bc]
jae 0x414544
lea edx, [esp + 0x1bc]
push str.waeversion
lea ecx, [esp + 0xf8]
call fcn.004115f6
cmp dword [esp + 0x17c], 8
mov edx, dword [esp + 0x168]
jae 0x41456d
lea edx, [esp + 0x168]
push str.waenamepid
lea ecx, [esp + 0xf8]
call fcn.004115f6
mov eax, dword [0x48b7b4]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [0x48b79c]
mov dword [esp + 0x34], eax
mov eax, dword [0x48b7b4]
mov dword [esp + 0x40], eax
mov eax, dword [0x48b79c]
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.00407f61
test al, al
jne 0x4145fe
mov esi, edi
call fcn.00407d36
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x4145ca
mov edi, dword [eax + 4]
jmp 0x4145cd
lea edi, [eax + 4]
lea esi, [esp + 0x34]
call fcn.00407d36
cmp dword [eax + 0x18], 8
jb 0x4145e1
mov eax, dword [eax + 4]
jmp 0x4145e4
add eax, 4
push eax
mov edx, edi
lea ecx, [esp + 0xf8]
call fcn.004115f6
lea esi, [esp + 0x34]
call fcn.00415576
jmp 0x414592
lea ecx, [esp + 0x4c]
call fcn.0041749f
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x5d4], 0xd
call fcn.00416b93
pop ecx
mov byte [esp + 0x5d0], 0xe
cmp dword [eax + 0x18], 8
jb 0x41462f
mov eax, dword [eax + 4]
jmp 0x414632
add eax, 4
push str.winver
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x20]
call fcn.00401e74
push ebx
push edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x5d8], 0xc
call fcn.0040150f
call fcn.00416da8
mov edx, 0x47abf8
test eax, eax
jne 0x414679
mov edx, 0x47ac00
push str.winbits
lea ecx, [esp + 0xf8]
call fcn.004115f6
lea eax, [esp + 0x18]
push eax
call fcn.00416de1
pop ecx
mov byte [esp + 0x5d0], 0xf
cmp dword [eax + 0x18], 8
jb 0x4146a8
mov eax, dword [eax + 4]
jmp 0x4146ab
add eax, 4
push str.iever
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e74
push dword [0x48b730]
lea ecx, [esp + 0x1c]
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x10
cmp dword [eax + 0x18], 8
jb 0x4146f4
mov eax, dword [eax + 4]
jmp 0x4146f7
add eax, 4
push str.waestart
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e74
push ebx
call fcn.0044c724
pop ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edx
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x11
cmp dword [eax + 0x18], 8
jb 0x414746
mov eax, dword [eax + 4]
jmp 0x414749
add eax, 4
push str.waeend
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e74
lea eax, [esp + 0x18]
push eax
call fcn.00413eb0
mov byte [esp + 0x5d0], 0x12
cmp dword [eax + 0x18], 8
jb 0x41478c
mov eax, dword [eax + 4]
jmp 0x41478f
add eax, 4
push str.downstate
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e74
lea eax, [esp + 0x18]
push eax
call fcn.004140ba
mov byte [esp + 0x5d0], 0x13
cmp dword [eax + 0x18], 8
jb 0x4147d2
mov eax, dword [eax + 4]
jmp 0x4147d5
add eax, 4
push str.installstate
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x20]
call fcn.00401e74
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], ax
mov byte [esp + 0x5d0], 0x14
mov eax, dword [0x48b728]
mov eax, dword [eax]
mov ecx, dword [0x48b710]
mov dword [esp + 0x40], eax
mov eax, dword [0x48b72c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], ebx
mov eax, dword [0x48b728]
mov dword [esp + 0x48], eax
mov eax, dword [0x48b710]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.00407f61
test al, al
jne 0x414899
mov esi, edi
call fcn.00407d36
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0xe0]
call fcn.004043ed
mov eax, dword [esp + 0x34]
dec eax
cmp eax, dword [esp + 0x10]
je 0x41488a
push 0x479f7c
mov eax, esi
push eax
call fcn.00403efe
lea esi, [esp + 0x3c]
call fcn.00415179
inc dword [esp + 0x10]
jmp 0x414839
cmp dword [esp + 0xec], ebx
jne 0x4148b6
xor eax, eax
inc eax
mov ecx, 0x47aa58
lea esi, [esp + 0xd8]
call fcn.00404293
mov edx, dword [esp + 0xdc]
push 8
pop edi
cmp dword [esp + 0xf0], edi
jae 0x4148d0
lea edx, [esp + 0xdc]
push str.cdniplist
lea ecx, [esp + 0xf8]
call fcn.004115f6
mov edx, 0x47ac8c
cmp byte [0x48b73c], bl
jne 0x4148f3
mov edx, 0x47ac90
push 0x47ac94
lea ecx, [esp + 0xf8]
call fcn.004115f6
push dword [0x48b740]
lea ecx, [esp + 0x1c]
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x15
cmp dword [eax + 0x18], edi
jb 0x414926
mov eax, dword [eax + 4]
jmp 0x414929
add eax, 4
push str.crashcode
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
xor eax, eax
push 0x3e
mov word [esp + 0x378], ax
lea eax, [esp + 0x37a]
push ebx
push eax
call fcn.00451670
add esp, 0xc
push dword [0x48b744]
lea eax, [esp + 0x378]
push str.0x_08X
push 0x20
push eax
call fcn.00416451
add esp, 0x10
push str.crashattr
lea edx, [esp + 0x378]
lea ecx, [esp + 0xf8]
call fcn.004115f6
push dword [0x48b748]
lea ecx, [esp + 0x1c]
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x16
cmp dword [eax + 0x18], edi
jb 0x4149c4
mov eax, dword [eax + 4]
jmp 0x4149c7
add eax, 4
push str.crashoffset
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
mov edx, dword [0x48b750]
cmp dword [0x48b764], edi
jae 0x414a01
mov edx, 0x48b750
push str.crashfilename
lea ecx, [esp + 0xf8]
call fcn.004115f6
mov edx, dword [0x48b76c]
cmp dword [0x48b780], edi
jae 0x414a25
mov edx, 0x48b76c
push str.crashsection
lea ecx, [esp + 0xf8]
call fcn.004115f6
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
fild dword [esp + 0x2c4]
push ecx
push ecx
fdiv qword [0x47c9a0]
fldz
fcomp st(1)
fnstsw ax
fstp qword [esp]
test ah, 5
jp 0x414a68
call fcn.00469cb0
jmp 0x414a6d
call fcn.0044f640
pop ecx
pop ecx
call fcn.00453da0
neg eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00417719
pop ecx
mov byte [esp + 0x5d0], 0x17
cmp dword [eax + 0x18], edi
jb 0x414a93
mov eax, dword [eax + 4]
jmp 0x414a96
add eax, 4
push str.timezone
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push eax
lea ecx, [esp + 0x1c]
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x18
cmp dword [eax + 0x18], edi
jb 0x414ae0
mov eax, dword [eax + 4]
jmp 0x414ae3
add eax, 4
push str.syslcid
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
lea ecx, [esp + 0x6c]
call fcn.00417719
pop ecx
mov edi, eax
push ebx
mov byte [esp + 0x5d4], 0x19
call esi
push eax
lea ecx, [esp + 0x88]
call fcn.00417719
mov byte [esp + 0x5d4], 0x1a
mov dword [esp], 0x47aa18
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00404545
add esp, 0xc
mov byte [esp + 0x5d0], 0x1b
cmp dword [edi + 0x18], 8
jb 0x414b69
mov edi, dword [edi + 4]
jmp 0x414b6c
add edi, 4
push edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00404545
add esp, 0xc
mov byte [esp + 0x5d0], 0x1c
cmp dword [eax + 0x18], 8
jb 0x414b8e
mov eax, dword [eax + 4]
jmp 0x414b91
add eax, 4
push str.srceensize
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x20]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x54]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x8c]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x70]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
push ebx
call fcn.0044c724
pop ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x4c], edx
call fcn.004176ce
pop ecx
mov byte [esp + 0x5d0], 0x1d
cmp dword [eax + 0x18], 8
jb 0x414c07
mov eax, dword [eax + 4]
jmp 0x414c0a
add eax, 4
push str.waeclose
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.004115f6
push ebx
push edi
lea esi, [esp + 0x70]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e74
lea eax, [esp + 0xf4]
call fcn.0040f525
push str.http:__platform.wondershare.com_rest_v2_downloader_track_client_sign
lea esi, [esp + 0x1d8]
call fcn.004070da
push 0x47ab28
lea esi, [esp + 0x1c]
mov byte [esp + 0x5d4], 0x1e
call fcn.004070da
mov eax, esi
push eax
mov ebx, 0x48b79c
mov byte [esp + 0x5d4], 0x1f
call fcn.0041500d
push 0xffffffffffffffff
push 0
lea esi, [esp + 0x1dc]
call fcn.004043ed
push 0
push 1
lea esi, [esp + 0x20]
call fcn.00401e74
lea eax, [esp + 0x20c]
call fcn.00402725
mov byte [esp + 0x5d0], 0x20
cmp dword [esp + 0x10c], 8
mov eax, dword [esp + 0xf8]
jae 0x414cc1
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x1d8]
lea ecx, [esp + 0x210]
call fcn.004029ca
lea eax, [esp + 0xf4]
push eax
lea esi, [esp + 0x1f4]
call fcn.00401bcf
lea eax, [esp + 0x3b4]
push eax
push 0x103
mov byte [esp + 0x5d8], 0x21
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [esp + eax*2 + 0x3b2], 0x5c
je 0x414d22
push 0x479d68
lea eax, [esp + 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x3b4]
push eax
lea esi, [esp + 0x184]
call fcn.004070da
push 0x47ab10
lea esi, [esp + 0x1c]
mov byte [esp + 0x5d4], 0x22
call fcn.004070da
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5d0], 0x23
call fcn.00417648
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x5d4], 0x24
call fcn.0041500d
push eax
lea eax, [esp + 0xa4]
push 0x47ae18
push eax
call fcn.00411c73
add esp, 0xc
push 0x47ae10
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x5dc], 0x25
call fcn.00404545
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x5dc], 0x26
call fcn.00411c28
add esp, 0xc
push str..xml
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x5dc], 0x27
call fcn.00404545
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea esi, [esp + 0x188]
mov byte [esp + 0x5d8], 0x28
call fcn.004043ed
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x70]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x8c]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x54]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0xa8]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0xc4]
call fcn.00401e74
push ebx
mov byte [esp + 0x5d4], 0x22
push edi
lea esi, [esp + 0x20]
call fcn.00401e74
cmp dword [esp + 0x198], 8
mov eax, dword [esp + 0x184]
jae 0x414e61
lea eax, [esp + 0x184]
lea ecx, [esp + 0x14c]
push ecx
push eax
lea edx, [esp + 0x118]
lea ecx, [esp + 0xfc]
call fcn.0040ecf3
pop ecx
pop ecx
push ebx
push edi
lea esi, [esp + 0x188]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x1f8]
call fcn.00401e74
lea edi, [esp + 0x20c]
call fcn.00402758
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x1dc]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0xe0]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x16c]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x1a4]
call fcn.00401e74
push ebx
push edi
lea esi, [esp + 0x1c0]
call fcn.00401e74
or dword [esp + 0x5d0], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.0040d5dc
mov ecx, dword [esp + 0x5c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5b0]
xor ecx, esp
call fcn.0044c18b
mov esp, ebp
pop ebp
ret