Function at 0x41f410
Capabilities:
Check if file exists
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e913
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x466c
call fcn.00436370
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x4668], eax
push ebx
push esi
push edi
mov eax, dword [0x44a2b8]
xor eax, esp
push eax
lea eax, [esp + 0x4680]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1e2]
push ebx
push eax
mov word [esp + 0x1e8], bx
call fcn.00429d70
add esp, 0xc
push 0x206
lea ecx, [esp + 0x3ea]
push ebx
push ecx
mov word [esp + 0x3f0], bx
call fcn.00429d70
add esp, 0xc
push 0xf9e
lea edx, [esp + 0xfca]
push ebx
push edx
mov word [esp + 0xfd0], bx
call fcn.00429d70
add esp, 0xc
push 0x206
lea eax, [esp + 0x5f2]
push ebx
push eax
mov word [esp + 0x5f8], bx
call fcn.00429d70
add esp, 0xc
push 1
push 0x1c
lea ecx, [esp + 0x5f4]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41faac
mov edi, 7
lea eax, [esp + 0x5ec]
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f510
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5f0]
push edx
lea esi, [esp + 0x1ac]
call fcn.00401d00
mov dword [esp + 0x4688], ebx
cmp dword [esp + 0x1bc], 8
mov ecx, dword [esp + 0x1a8]
jae 0x41f553
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0x1dc]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41f560
lea eax, [esp + 0x1dc]
lea edx, [eax + 2]
jmp 0x41f580
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f580
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1da], 0x5c
jne 0x41f5bb
lea eax, [esp + 0x1dc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f5a4
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1da], bx
lea eax, [esp + 0x1dc]
push eax
push str._sGoogleChromeUser_DataDefault
push 0x208
mov ecx, eax
push 0x104
push ecx
call fcn.00425032
lea eax, [esp + 0x1f0]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f5e7
sub eax, edx
sar eax, 1
je 0x41fa92
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x1dc]
push edx
call esi
test eax, eax
je 0x41fa92
lea eax, [esp + 0x1dc]
push eax
push str._sPreferences
push 0x208
lea ecx, [esp + 0x3f0]
push 0x104
push ecx
call fcn.00425032
add esp, 0x14
lea edx, [esp + 0x3e4]
push edx
call esi
test eax, eax
je 0x41fa92
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x19c], ebx
mov word [esp + 0x18c], bx
lea eax, [esp + 0x3e4]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x4690], 1
call fcn.00420550
mov byte [esp + 0x4688], 2
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x54]
lea eax, [esp + eax + 0x4c]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x41fd86
push 0xa
push eax
call fcn.00421d40
lea edx, [esp + 0x188]
push eax
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004220c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
add esp, 0xc
neg dl
sbb edx, edx
not edx
test ecx, edx
je 0x41f785
mov esi, 8
jmp 0x41f6f0
cmp dword [esp + 0x1a0], esi
mov ecx, dword [esp + 0x18c]
jae 0x41f707
lea ecx, [esp + 0x18c]
mov edx, str._homepage_:
call fcn.0041e010
cmp eax, ebx
jge 0x41f756
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
push 0xa
lea edx, [esp + ecx + 0x50]
push edx
call fcn.00421d40
lea ecx, [esp + 0x4c]
push eax
lea eax, [esp + 0x18c]
push eax
push ecx
call fcn.004220c0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
add esp, 0xc
neg al
sbb eax, eax
not eax
test ecx, eax
jne 0x41f6f0
jmp 0x41f785
cmp dword [esp + 0x1a0], esi
mov ecx, dword [esp + 0x18c]
jae 0x41f76d
lea ecx, [esp + 0x18c]
lea edx, [esp + 0xfc4]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41f774
lea edi, [esp + 0x188]
call fcn.0040fd60
mov edx, str.QQ.COM
lea ecx, [esp + 0xfc4]
call fcn.0041e010
cmp eax, ebx
jl 0x41f7b5
mov dword [0x44f014], 1
jmp 0x41fa75
push 0xf9e
lea ecx, [esp + 0x36da]
push ebx
push ecx
mov dword [0x44f014], ebx
mov word [esp + 0x36e0], bx
call fcn.00429d70
add esp, 0xc
mov dword [esp + 0x1d8], 7
mov dword [esp + 0x1d4], ebx
mov word [esp + 0x1c4], bx
cmp dword [ebp + 8], ebx
mov byte [esp + 0x4688], 3
je 0x41fa69
push 0xf9e
lea edx, [esp + 0x273a]
push ebx
push edx
mov word [esp + 0x2740], bx
call fcn.00429d70
add esp, 0xc
push 0x7cf
lea eax, [esp + 0x1f69]
push ebx
push eax
mov byte [esp + 0x1f70], 0
call fcn.00429d70
add esp, 0xc
push 0x7cf
lea ecx, [esp + 0x7f9]
push ebx
push ecx
mov byte [esp + 0x800], 0
call fcn.00429d70
add esp, 0xc
lea edx, [esp + 0x3e4]
push 0x4456a8
push edx
call fcn.00424ba6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41f897
push esi
push 0x7d0
lea eax, [esp + 0x1f6c]
push 1
push eax
call fcn.00426aef
push esi
call fcn.00424e0c
add esp, 0x14
lea eax, [esp + 0x1f64]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f8a1
push 0x7d0
lea ecx, [esp + 0x2738]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x1f70]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x2734]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f8d4
sub eax, edx
sar eax, 1
je 0x41fad0
lea eax, [esp + 0x2734]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f8f3
sub eax, edx
sar eax, 1
cmp eax, 0x7d0
ja 0x41fad0
lea eax, [esp + 0xfc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f917
sub eax, edx
sar eax, 1
je 0x41fad0
mov edx, str.____homepage_:__http:__www.qq.com___
lea eax, [esp + 0x30]
call fcn.00401c90
lea edx, [esp + 0xfc4]
lea eax, [esp + 0x14]
mov byte [esp + 0x4688], 4
call fcn.00401c90
lea edx, [esp + 0x2734]
lea eax, [esp + 0x16c]
mov byte [esp + 0x4688], 5
call fcn.00401c90
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x174]
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x4690], 6
call fcn.00401da0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x1c8]
call fcn.00417380
add esp, 8
lea esi, [esp + 0x16c]
call fcn.00401cd0
lea esi, [esp + 0x14]
call fcn.00401cd0
lea esi, [esp + 0x30]
call fcn.00401cd0
cmp dword [esp + 0x1d8], 8
mov eax, dword [esp + 0x1c4]
jae 0x41f9da
lea eax, [esp + 0x1c4]
push eax
push 0x441d18
push 0xfa0
lea edx, [esp + 0x36e0]
push 0x7d0
push edx
call fcn.00425032
add esp, 0x14
push ebx
push ebx
push 0x7d0
lea eax, [esp + 0x800]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x36e8]
push ecx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x3e4]
push 0x44572c
push edx
call fcn.00424ba6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41fa69
lea eax, [esp + 0x7f4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41fa44
sub eax, edx
push esi
push eax
lea eax, [esp + 0x7fc]
push 1
push eax
call fcn.00424d18
push esi
call fcn.00424e0c
add esp, 0x14
lea esi, [esp + 0x1c0]
call fcn.00401cd0
lea eax, [esp + 0x4c]
mov byte [esp + 0x4688], 1
call fcn.0041f190
lea esi, [esp + 0x188]
call fcn.00401cd0
cmp dword [esp + 0x1bc], 8
jb 0x41faac
mov edx, dword [esp + 0x1a8]
push edx
call fcn.004250ac
add esp, 4
mov ecx, dword [esp + 0x4680]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4668]
xor ecx, esp
call fcn.00424e88
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x2734]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fae0
sub eax, edx
sar eax, 1
je 0x41fa69
lea eax, [esp + 0x2734]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fb00
sub eax, edx
sar eax, 1
cmp eax, 0x7d0
ja 0x41fa69
lea eax, [esp + 0xfc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fb24
sub eax, edx
sar eax, 1
jne 0x41fa69
xor ebx, ebx
mov dword [esp + 0x184], 7
mov dword [esp + 0x180], ebx
mov word [esp + 0x170], bx
lea ecx, [esp + 0x3e4]
push ecx
lea edx, [esp + 0xe0]
push edx
mov byte [esp + 0x4690], 7
call fcn.00420550
lea edi, [esp + 0x16c]
mov byte [esp + 0x4688], 8
call fcn.0040fd60
mov eax, dword [esp + 0xdc]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0xe4]
lea eax, [esp + eax + 0xdc]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x41fd5a
mov edx, edi
push edx
lea esi, [esp + 0xe0]
call fcn.00421f50
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
add esp, 4
neg dl
sbb edx, edx
not edx
test ecx, edx
je 0x41fca2
lea edi, [ebx + 8]
test ebx, ebx
je 0x41fc0d
push str.____homepage_:__http:__www.qq.com___
lea eax, [esp + 0xfc8]
push eax
push str._s_s_r_n
push 0xfa0
mov ecx, eax
push 0x7d0
push ecx
call fcn.00425032
add esp, 0x18
xor ebx, ebx
cmp dword [esp + 0x184], edi
mov eax, dword [esp + 0x170]
jae 0x41fc24
lea eax, [esp + 0x170]
push eax
lea edx, [esp + 0xfc8]
push edx
push str._s_s_r_n
push 0xfa0
mov eax, edx
push 0x7d0
push eax
call fcn.00425032
mov ecx, dword [esp + 0x188]
add esp, 0x18
cmp dword [esp + 0x184], edi
jae 0x41fc5e
lea ecx, [esp + 0x170]
mov edx, str._geoid_at_install_
call fcn.0041e010
test eax, eax
jl 0x41fc71
mov ebx, 1
lea ecx, [esp + 0x16c]
push ecx
lea esi, [esp + 0xe0]
call fcn.00421f50
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
add esp, 4
neg al
sbb eax, eax
not eax
test ecx, eax
jne 0x41fbe0
lea eax, [esp + 0xfc4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fcb0
sub eax, edx
sar eax, 1
je 0x41fd35
push 0
push 0
push 0x7d0
lea ecx, [esp + 0x800]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xfd8]
push edx
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x3e4]
push 0x44572c
push eax
call fcn.00424ba6
mov esi, eax
add esp, 8
test esi, esi
je 0x41fd35
lea eax, [esp + 0x7f4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41fd10
push esi
sub eax, edx
push eax
lea ecx, [esp + 0x7fc]
push 1
push ecx
call fcn.00424d18
push esi
call fcn.00424e0c
add esp, 0x14
lea eax, [esp + 0xdc]
mov byte [esp + 0x4688], 7
call fcn.0041f190
lea esi, [esp + 0x16c]
call fcn.00401cd0
jmp 0x41fa69
lea eax, [esp + 0xdc]
mov byte [esp + 0x4688], 7
call fcn.0041f190
lea esi, [esp + 0x16c]
call fcn.00401cd0
lea esi, [esp + 0x1c0]
call fcn.00401cd0
lea eax, [esp + 0x4c]
mov byte [esp + 0x4688], 1
call fcn.0041f190
lea esi, [esp + 0x188]
call fcn.00401cd0
lea esi, [esp + 0x1a4]
call fcn.00401cd0
jmp 0x41faac