Function at 0x41e930
Capabilities:
Check if file exists
Read .ini file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43e9c9
mov eax, dword fs:[0]
push eax
mov eax, 0x51dc
call fcn.00436370
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x51d4], eax
push ebx
push esi
push edi
mov eax, dword [0x44a2b8]
xor eax, esp
push eax
lea eax, [esp + 0x51ec]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x172]
push esi
push eax
mov word [esp + 0x178], si
call fcn.00429d70
add esp, 0xc
push 0x206
lea ecx, [esp + 0x582]
push esi
push ecx
mov word [esp + 0x588], si
call fcn.00429d70
add esp, 0xc
push 0x206
lea edx, [esp + 0x78a]
push esi
push edx
mov word [esp + 0x790], si
call fcn.00429d70
add esp, 0xc
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], esi
mov word [esp + 0x100], si
push 0x206
lea eax, [esp + 0x37a]
push esi
mov dword [esp + 0x51fc], esi
push eax
mov word [esp + 0x380], si
call fcn.00429d70
add esp, 0xc
push 0x206
lea ecx, [esp + 0x992]
push esi
push ecx
mov word [esp + 0x998], si
call fcn.00429d70
add esp, 0xc
xor ecx, ecx
lea ebx, [esp + 0x150]
call fcn.00424050
mov byte [esp + 0x51f4], 1
mov ecx, dword [esp + 0x154]
mov edi, 8
cmp dword [esp + 0x168], edi
jae 0x41ea59
lea ecx, [esp + 0x154]
lea edx, [esp + 0x16c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41ea60
lea eax, [esp + 0x16c]
lea edx, [eax + 2]
jmp 0x41ea80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ea80
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x16a], 0x5c
jne 0x41eabf
lea eax, [esp + 0x16c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41eaa4
sub eax, edx
sar eax, 1
xor ebx, ebx
mov word [esp + eax*2 + 0x16a], bx
jmp 0x41eac1
xor ebx, ebx
lea edx, [esp + 0x16c]
push edx
push str._sMozillaFirefox
push 0x208
mov eax, edx
push 0x104
push eax
call fcn.00425032
lea eax, [esp + 0x180]
add esp, 0x14
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41eaf0
sub eax, edx
sar eax, 1
je 0x41f0e3
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x16c]
push ecx
call esi
test eax, eax
je 0x41f0e3
lea edx, [esp + 0x16c]
push edx
push str._sprofiles.ini
push 0x208
lea eax, [esp + 0x588]
push 0x104
push eax
call fcn.00425032
add esp, 0x14
lea ecx, [esp + 0x57c]
push ecx
call esi
test eax, eax
je 0x41f0e3
lea edx, [esp + 0x57c]
push edx
push 0x64
lea eax, [esp + 0x78c]
push eax
push 0x441b18
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x784]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41eb87
sub eax, edx
sar eax, 1
je 0x41f0e3
mov edx, 0x4420e8
lea eax, [esp + 0x34]
call fcn.00401c90
mov edx, 0x445654
lea eax, [esp + 0x18]
mov byte [esp + 0x51f4], 2
call fcn.00401c90
lea edx, [esp + 0x784]
lea eax, [esp + 0x134]
mov byte [esp + 0x51f4], 3
call fcn.00401c90
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x104]
mov byte [esp + 0x51fc], 4
call fcn.00401da0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x104]
call fcn.00417380
add esp, 8
lea esi, [esp + 0x134]
call fcn.00401cd0
lea esi, [esp + 0x18]
call fcn.00401cd0
lea esi, [esp + 0x34]
mov byte [esp + 0x51f4], 1
call fcn.00401cd0
mov eax, dword [esp + 0x110]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41ec4b
call fcn.0042588d
mov eax, dword [esp + 0x100]
mov edi, 8
cmp dword [esp + 0x114], edi
jae 0x41ec67
lea eax, [esp + 0x100]
cmp word [eax + esi*2], 0x5c
je 0x41ec80
lea eax, [esp + 0xfc]
push eax
mov edx, 0x4420e8
call fcn.0040fd30
cmp dword [esp + 0x114], edi
mov eax, dword [esp + 0x100]
jae 0x41ec97
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x170]
push ecx
push 0x445658
push 0x208
lea edx, [esp + 0x384]
push 0x104
push edx
call fcn.00425032
add esp, 0x18
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], bx
lea eax, [esp + 0x374]
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x51fc], 5
call fcn.00420550
mov byte [esp + 0x51f4], 6
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x74]
lea eax, [esp + eax + 0x6c]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x41f156
push 0xa
push eax
call fcn.00421d40
lea edx, [esp + 0x118]
push eax
push edx
lea eax, [esp + 0x74]
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 0x41edf5
jmp 0x41ed60
cmp dword [esp + 0x130], edi
mov ecx, dword [esp + 0x11c]
jae 0x41ed77
lea ecx, [esp + 0x11c]
mov edx, str.browser.startup.homepage
call fcn.0041e010
cmp eax, ebx
jge 0x41edc6
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
push 0xa
lea edx, [esp + ecx + 0x70]
push edx
call fcn.00421d40
lea ecx, [esp + 0x6c]
push eax
lea eax, [esp + 0x11c]
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 0x41ed60
jmp 0x41edf5
cmp dword [esp + 0x130], edi
mov ecx, dword [esp + 0x11c]
jae 0x41eddd
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x98c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41ede4
lea edi, [esp + 0x118]
call fcn.0040fd60
mov edx, str.QQ.COM
lea ecx, [esp + 0x98c]
call fcn.0041e010
cmp eax, ebx
jl 0x41ee25
mov dword [0x44f014], 1
jmp 0x41f0c1
push 0x176e
lea ecx, [esp + 0x3a7a]
push ebx
push ecx
mov dword [0x44f014], ebx
mov word [esp + 0x3a80], bx
call fcn.00429d70
add esp, 0xc
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], bx
cmp dword [esp + 0x51fc], ebx
mov byte [esp + 0x51f4], 7
je 0x41f0b5
push 0x176e
lea edx, [esp + 0x1752]
push ebx
push edx
mov word [esp + 0x1758], bx
call fcn.00429d70
add esp, 0xc
push 0xbb7
lea eax, [esp + 0xb99]
push ebx
push eax
mov byte [esp + 0xba0], bl
call fcn.00429d70
add esp, 0xc
push 0xbb7
lea ecx, [esp + 0x2ec1]
push ebx
push ecx
mov byte [esp + 0x2ec8], bl
call fcn.00429d70
add esp, 0xc
lea edx, [esp + 0x374]
push 0x4456a8
push edx
call fcn.00424ba6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41ef09
push esi
push 0xbb8
lea eax, [esp + 0xb9c]
push 1
push eax
call fcn.00426aef
push esi
call fcn.00424e0c
add esp, 0x14
lea eax, [esp + 0xb94]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41ef13
push 0xbb8
lea ecx, [esp + 0x1750]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0xba0]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x174c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ef46
sub eax, edx
sar eax, 1
je 0x41f0b5
lea eax, [esp + 0x174c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ef65
sub eax, edx
sar eax, 1
cmp eax, 0xbb8
ja 0x41f0b5
mov edx, str.user_pref__browser.startup.homepage____http:__www.qq.com____
lea eax, [esp + 0x50]
call fcn.00401c90
lea edx, [esp + 0x98c]
lea eax, [esp + 0x18]
mov byte [esp + 0x51f4], 8
call fcn.00401c90
lea edx, [esp + 0x174c]
lea eax, [esp + 0x34]
mov byte [esp + 0x51f4], 9
call fcn.00401c90
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x13c]
mov byte [esp + 0x51fc], 0xa
call fcn.00401da0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x13c]
call fcn.00417380
add esp, 8
lea esi, [esp + 0x34]
call fcn.00401cd0
lea esi, [esp + 0x18]
call fcn.00401cd0
lea esi, [esp + 0x50]
call fcn.00401cd0
cmp dword [esp + 0x14c], 8
mov eax, dword [esp + 0x138]
jae 0x41f024
lea eax, [esp + 0x138]
push eax
push 0x441d18
push 0x1770
lea edx, [esp + 0x3a80]
push 0xbb8
push edx
call fcn.00425032
add esp, 0x14
push ebx
push ebx
push 0xbb8
lea eax, [esp + 0x2ec8]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x3a88]
push ecx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x374]
push 0x44572c
push edx
call fcn.00424ba6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41f0b5
lea eax, [esp + 0x2ebc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41f090
sub eax, edx
push esi
push eax
lea eax, [esp + 0x2ec4]
push 1
push eax
call fcn.00424d18
push esi
call fcn.00424e0c
add esp, 0x14
lea esi, [esp + 0x134]
call fcn.00401cd0
lea eax, [esp + 0x6c]
mov byte [esp + 0x51f4], 5
call fcn.0041f190
lea esi, [esp + 0x118]
call fcn.00401cd0
mov edi, 8
cmp dword [esp + 0x168], edi
jb 0x41f0fc
mov ecx, dword [esp + 0x154]
push ecx
call fcn.004250ac
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], ebx
mov word [esp + 0x154], bx
jb 0x41f12f
mov edx, dword [esp + 0x100]
push edx
call fcn.004250ac
add esp, 4
mov ecx, dword [esp + 0x51ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x51d4]
xor ecx, esp
call fcn.00424e88
add esp, 0x51e8
ret
lea eax, [esp + 0x6c]
mov byte [esp + 0x51f4], 5
call fcn.0041f190
lea esi, [esp + 0x118]
call fcn.00401cd0
lea esi, [esp + 0x150]
call fcn.00401cd0
lea esi, [esp + 0xfc]
call fcn.00401cd0
jmp 0x41f12f