Function at 0x414243
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46de8e
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x486ba4]
xor eax, esp
mov dword [esp + 0x5b0], eax
push ebx
push esi
push edi
mov eax, dword [0x486ba4]
xor eax, esp
push eax
lea eax, [esp + 0x5c8]
mov dword fs:[0], eax
and dword [esp + 0x10], 0
push 0x479b10
lea esi, [esp + 0x1c]
call fcn.004070e1
and dword [esp + 0x5d0], 0
mov eax, esi
mov edi, 0x48a798
push eax
mov ebx, edi
mov dword [esp + 0x14], 1
call fcn.0041502f
cmp dword [eax + 0x14], 0
je 0x4142ef
push 0x479b28
lea esi, [esp + 0x50]
call fcn.004070e1
mov eax, esi
mov dword [esp + 0x5d0], 1
push eax
mov dword [esp + 0x14], 3
call fcn.0041502f
cmp dword [eax + 0x14], 0
mov byte [esp + 0x17], 0
jne 0x4142f4
mov byte [esp + 0x17], 1
push 2
pop ebx
test byte [esp + 0x10], bl
je 0x41430f
and dword [esp + 0x10], 0xfffffffd
push 0
push 1
lea esi, [esp + 0x54]
call fcn.00401e7e
or dword [esp + 0x5d0], 0xffffffff
test byte [esp + 0x10], 1
je 0x41432b
push 0
push 1
lea esi, [esp + 0x20]
call fcn.00401e7e
cmp byte [esp + 0x17], 0
jne 0x414f27
lea eax, [esp + 0xf4]
push eax
call fcn.0040d5df
mov dword [esp + 0x5d0], ebx
push str.__xml_version_1.0__encoding_UTF_8____n
lea ebx, [esp + 0xf8]
call fcn.0040eb54
push str.wae_tracker
xor edx, edx
mov ecx, ebx
call fcn.00411629
push 0x479b28
lea esi, [esp + 0x1c]
call fcn.004070e1
mov eax, esi
push eax
mov ebx, edi
mov byte [esp + 0x5d4], 3
call fcn.0041502f
cmp dword [eax + 0x18], 8
jb 0x414394
mov eax, dword [eax + 4]
jmp 0x414397
add eax, 4
push eax
push dword [esp + 0x134]
lea eax, [esp + 0xfc]
push eax
mov ecx, 0x479b28
call fcn.00410c28
push 0
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e7e
push 0x479b10
lea esi, [esp + 0x1c]
call fcn.004070e1
mov eax, esi
push eax
mov ebx, edi
mov byte [esp + 0x5d4], 4
call fcn.0041502f
cmp dword [eax + 0x18], 8
jb 0x4143f1
mov eax, dword [eax + 4]
jmp 0x4143f4
add eax, 4
push eax
push dword [esp + 0x134]
lea eax, [esp + 0xfc]
push eax
mov ecx, 0x479b10
call fcn.00410c28
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e7e
lea eax, [esp + 0xf4]
call fcn.0040f526
push 0xcc
lea ecx, [esp + 0x1c]
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 5
cmp dword [eax + 0x18], 8
jb 0x414452
mov eax, dword [eax + 4]
jmp 0x414455
add eax, 4
push str.waever
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 2
call fcn.00401e7e
lea ecx, [esp + 0x10]
call fcn.0041ea55
mov byte [esp + 0x5d0], 6
push dword [eax]
lea esi, [esp + 0x1bc]
call fcn.004070e1
mov byte [esp + 0x5d0], 8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004026f8
lea ecx, [esp + 0x34]
call fcn.0041ead2
mov byte [esp + 0x5d0], 9
push dword [eax]
lea esi, [esp + 0x1a0]
call fcn.004070e1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004026f8
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 0x41454e
lea eax, [esp + 0x19c]
call fcn.00403aea
movzx eax, word [eax]
push eax
call fcn.0044c285
pop ecx
test eax, eax
je 0x414544
lea eax, [esp + 0x19c]
call fcn.00403aea
movzx eax, word [eax]
xor ebx, ebx
push eax
inc ebx
lea esi, [esp + 0x168]
call fcn.00403f31
xor ebx, ebx
inc edi
cmp edi, dword [esp + 0x1b0]
jb 0x414509
cmp dword [esp + 0x1d0], 8
mov edx, dword [esp + 0x1bc]
jae 0x414566
lea edx, [esp + 0x1bc]
push str.waeversion
lea ecx, [esp + 0xf8]
call fcn.00411629
cmp dword [esp + 0x17c], 8
mov edx, dword [esp + 0x168]
jae 0x41458f
lea edx, [esp + 0x168]
push str.waenamepid
lea ecx, [esp + 0xf8]
call fcn.00411629
mov eax, dword [0x48a7b0]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [0x48a798]
mov dword [esp + 0x34], eax
mov eax, dword [0x48a7b0]
mov dword [esp + 0x40], eax
mov eax, dword [0x48a798]
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.00407fab
test al, al
jne 0x414620
mov esi, edi
call fcn.00407d7d
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x4145ec
mov edi, dword [eax + 4]
jmp 0x4145ef
lea edi, [eax + 4]
lea esi, [esp + 0x34]
call fcn.00407d7d
cmp dword [eax + 0x18], 8
jb 0x414603
mov eax, dword [eax + 4]
jmp 0x414606
add eax, 4
push eax
mov edx, edi
lea ecx, [esp + 0xf8]
call fcn.00411629
lea esi, [esp + 0x34]
call fcn.0041558e
jmp 0x4145b4
lea ecx, [esp + 0x4c]
call fcn.004174b9
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x5d4], 0xd
call fcn.00416bad
pop ecx
mov byte [esp + 0x5d0], 0xe
cmp dword [eax + 0x18], 8
jb 0x414651
mov eax, dword [eax + 4]
jmp 0x414654
add eax, 4
push str.winver
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x20]
call fcn.00401e7e
push ebx
push edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x5d8], 0xc
call fcn.0040150f
call fcn.00416dc2
mov edx, 0x479bf8
test eax, eax
jne 0x41469b
mov edx, 0x479c00
push str.winbits
lea ecx, [esp + 0xf8]
call fcn.00411629
lea eax, [esp + 0x18]
push eax
call fcn.00416dfb
pop ecx
mov byte [esp + 0x5d0], 0xf
cmp dword [eax + 0x18], 8
jb 0x4146ca
mov eax, dword [eax + 4]
jmp 0x4146cd
add eax, 4
push str.iever
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e7e
push dword [0x48a730]
lea ecx, [esp + 0x1c]
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x10
cmp dword [eax + 0x18], 8
jb 0x414716
mov eax, dword [eax + 4]
jmp 0x414719
add eax, 4
push str.waestart
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e7e
push ebx
call fcn.0044c094
pop ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edx
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x11
cmp dword [eax + 0x18], 8
jb 0x414768
mov eax, dword [eax + 4]
jmp 0x41476b
add eax, 4
push str.waeend
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e7e
lea eax, [esp + 0x18]
push eax
call fcn.00413ee2
mov byte [esp + 0x5d0], 0x12
cmp dword [eax + 0x18], 8
jb 0x4147ae
mov eax, dword [eax + 4]
jmp 0x4147b1
add eax, 4
push str.downstate
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0xc
call fcn.00401e7e
lea eax, [esp + 0x18]
push eax
call fcn.004140ec
mov byte [esp + 0x5d0], 0x13
cmp dword [eax + 0x18], 8
jb 0x4147f4
mov eax, dword [eax + 4]
jmp 0x4147f7
add eax, 4
push str.installstate
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x20]
call fcn.00401e7e
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 [0x48a728]
mov eax, dword [eax]
mov ecx, dword [0x48a710]
mov dword [esp + 0x40], eax
mov eax, dword [0x48a72c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], ebx
mov eax, dword [0x48a728]
mov dword [esp + 0x48], eax
mov eax, dword [0x48a710]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.00407fab
test al, al
jne 0x4148bb
mov esi, edi
call fcn.00407d7d
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0xe0]
call fcn.004043f7
mov eax, dword [esp + 0x34]
dec eax
cmp eax, dword [esp + 0x10]
je 0x4148ac
push 0x478f7c
mov eax, esi
push eax
call fcn.00403f08
lea esi, [esp + 0x3c]
call fcn.0041519b
inc dword [esp + 0x10]
jmp 0x41485b
cmp dword [esp + 0xec], ebx
jne 0x4148d8
xor eax, eax
inc eax
mov ecx, 0x479a58
lea esi, [esp + 0xd8]
call fcn.0040429d
mov edx, dword [esp + 0xdc]
push 8
pop edi
cmp dword [esp + 0xf0], edi
jae 0x4148f2
lea edx, [esp + 0xdc]
push str.cdniplist
lea ecx, [esp + 0xf8]
call fcn.00411629
mov edx, 0x479c8c
cmp byte [0x48a738], bl
jne 0x414915
mov edx, 0x479c90
push 0x479c94
lea ecx, [esp + 0xf8]
call fcn.00411629
push dword [0x48a73c]
lea ecx, [esp + 0x1c]
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x15
cmp dword [eax + 0x18], edi
jb 0x414948
mov eax, dword [eax + 4]
jmp 0x41494b
add eax, 4
push str.crashcode
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
xor eax, eax
push 0x3e
mov word [esp + 0x378], ax
lea eax, [esp + 0x37a]
push ebx
push eax
call fcn.00450fd0
add esp, 0xc
push dword [0x48a740]
lea eax, [esp + 0x378]
push str.0x_08X
push 0x20
push eax
call fcn.0041646b
add esp, 0x10
push str.crashattr
lea edx, [esp + 0x378]
lea ecx, [esp + 0xf8]
call fcn.00411629
push dword [0x48a744]
lea ecx, [esp + 0x1c]
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x16
cmp dword [eax + 0x18], edi
jb 0x4149e6
mov eax, dword [eax + 4]
jmp 0x4149e9
add eax, 4
push str.crashoffset
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
mov edx, dword [0x48a74c]
cmp dword [0x48a760], edi
jae 0x414a23
mov edx, 0x48a74c
push str.crashfilename
lea ecx, [esp + 0xf8]
call fcn.00411629
mov edx, dword [0x48a768]
cmp dword [0x48a77c], edi
jae 0x414a47
mov edx, 0x48a768
push str.crashsection
lea ecx, [esp + 0xf8]
call fcn.00411629
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
fild dword [esp + 0x2c4]
push ecx
push ecx
fdiv qword [0x47b8d0]
fldz
fcomp st(1)
fnstsw ax
fstp qword [esp]
test ah, 5
jp 0x414a8a
call fcn.00469620
jmp 0x414a8f
call fcn.0044efb0
pop ecx
pop ecx
call fcn.00453700
neg eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00417733
pop ecx
mov byte [esp + 0x5d0], 0x17
cmp dword [eax + 0x18], edi
jb 0x414ab5
mov eax, dword [eax + 4]
jmp 0x414ab8
add eax, 4
push str.timezone
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push eax
lea ecx, [esp + 0x1c]
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x18
cmp dword [eax + 0x18], edi
jb 0x414b02
mov eax, dword [eax + 4]
jmp 0x414b05
add eax, 4
push str.syslcid
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push 1
lea esi, [esp + 0x20]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
lea ecx, [esp + 0x6c]
call fcn.00417733
pop ecx
mov edi, eax
push ebx
mov byte [esp + 0x5d4], 0x19
call esi
push eax
lea ecx, [esp + 0x88]
call fcn.00417733
mov byte [esp + 0x5d4], 0x1a
mov dword [esp], 0x479a18
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040454f
add esp, 0xc
mov byte [esp + 0x5d0], 0x1b
cmp dword [edi + 0x18], 8
jb 0x414b8b
mov edi, dword [edi + 4]
jmp 0x414b8e
add edi, 4
push edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040454f
add esp, 0xc
mov byte [esp + 0x5d0], 0x1c
cmp dword [eax + 0x18], 8
jb 0x414bb0
mov eax, dword [eax + 4]
jmp 0x414bb3
add eax, 4
push str.srceensize
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x20]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x54]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x8c]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x70]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
push ebx
call fcn.0044c094
pop ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x4c], edx
call fcn.004176e8
pop ecx
mov byte [esp + 0x5d0], 0x1d
cmp dword [eax + 0x18], 8
jb 0x414c29
mov eax, dword [eax + 4]
jmp 0x414c2c
add eax, 4
push str.waeclose
mov edx, eax
lea ecx, [esp + 0xf8]
call fcn.00411629
push ebx
push edi
lea esi, [esp + 0x70]
mov byte [esp + 0x5d8], 0x14
call fcn.00401e7e
lea eax, [esp + 0xf4]
call fcn.0040f558
push str.http:__platform.wondershare.com_rest_v2_downloader_track_client_sign
lea esi, [esp + 0x1d8]
call fcn.004070e1
push 0x479b28
lea esi, [esp + 0x1c]
mov byte [esp + 0x5d4], 0x1e
call fcn.004070e1
mov eax, esi
push eax
mov ebx, 0x48a798
mov byte [esp + 0x5d4], 0x1f
call fcn.0041502f
push 0xffffffffffffffff
push 0
lea esi, [esp + 0x1dc]
call fcn.004043f7
push 0
push 1
lea esi, [esp + 0x20]
call fcn.00401e7e
lea eax, [esp + 0x20c]
call fcn.0040272f
mov byte [esp + 0x5d0], 0x20
cmp dword [esp + 0x10c], 8
mov eax, dword [esp + 0xf8]
jae 0x414ce3
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x1d8]
lea ecx, [esp + 0x210]
call fcn.004029d4
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 0x414d44
push 0x478d68
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.004070e1
push 0x479b10
lea esi, [esp + 0x1c]
mov byte [esp + 0x5d4], 0x22
call fcn.004070e1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5d0], 0x23
call fcn.00417662
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x5d4], 0x24
call fcn.0041502f
push eax
lea eax, [esp + 0xa4]
push 0x479e18
push eax
call fcn.00411ca6
add esp, 0xc
push 0x479e10
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x5dc], 0x25
call fcn.0040454f
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x5dc], 0x26
call fcn.00411c5b
add esp, 0xc
push str..xml
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x5dc], 0x27
call fcn.0040454f
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea esi, [esp + 0x188]
mov byte [esp + 0x5d8], 0x28
call fcn.004043f7
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x70]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x8c]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x54]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0xa8]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0xc4]
call fcn.00401e7e
push ebx
mov byte [esp + 0x5d4], 0x22
push edi
lea esi, [esp + 0x20]
call fcn.00401e7e
cmp dword [esp + 0x198], 8
mov eax, dword [esp + 0x184]
jae 0x414e83
lea eax, [esp + 0x184]
lea ecx, [esp + 0x14c]
push ecx
push eax
lea edx, [esp + 0x118]
lea ecx, [esp + 0xfc]
call fcn.0040ed26
pop ecx
pop ecx
push ebx
push edi
lea esi, [esp + 0x188]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x1f8]
call fcn.00401e7e
lea edi, [esp + 0x20c]
call fcn.00402762
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x1dc]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0xe0]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x16c]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x1a4]
call fcn.00401e7e
push ebx
push edi
lea esi, [esp + 0x1c0]
call fcn.00401e7e
or dword [esp + 0x5d0], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.0040d625
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.0044bafb
mov esp, ebp
pop ebp
ret