Function at 0x42e3a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf521
mov eax, dword fs:[0]
push eax
sub esp, 0x6f0
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x11c
lea edi, [ebx + 0x820]
push 0
push edi
call fcn.004982c0
add esp, 0xc
mov dword [edi], 0x11c
call fcn.0042d6e0
test eax, eax
jne 0x42e40b
push 0x11c
push eax
push edi
call fcn.004982c0
add esp, 0xc
mov dword [edi], 0x11c
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x4ea]
push ecx
mov word [ebp - 0x4ec], ax
call fcn.004982c0
add esp, 0xc
push str.360base.dll
lea esi, [ebx + 0x410]
push esi
push str._s_s
lea edx, [ebp - 0x4ec]
push 0x104
push edx
call fcn.00497746
add esp, 0x14
lea eax, [ebp - 0x6f8]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.00425750
lea eax, [ebp - 0x6f8]
mov edi, 0x4f26f8
mov dword [ebp - 4], 0
call fcn.00414fb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6f8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e4a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x6f8]
push ecx
mov ecx, esi
call fcn.00425750
lea eax, [ebp - 0x6f8]
mov edi, 0x4f26fc
mov dword [ebp - 4], 1
call fcn.00414fb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6f8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e4ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4f43bc], 0
jne 0x42e506
mov ecx, dword [0x4f26f8]
push ecx
call fcn.004243c0
add esp, 4
lea edx, [ebx + 0x974]
push edx
mov ecx, 0x4f26fc
call fcn.00408320
push 0
lea eax, [ebx + 0x950]
push 0x4c561c
push eax
call fcn.00425970
push 0
push 0x4c561c
lea edi, [ebx + 0x954]
push edi
call fcn.00425970
push 0
push 0x4c561c
lea esi, [ebx + 0x958]
push esi
call fcn.00425970
push 0
lea eax, [ebx + 0x960]
push 0x4c561c
push eax
call fcn.00425970
push 0
lea eax, [ebx + 0x95c]
push 0x4c561c
push eax
mov dword [ebp - 0x6fc], eax
call fcn.00425970
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xda]
push ecx
mov word [ebp - 0xdc], ax
call fcn.004982c0
add esp, 0xc
push 0x64
lea edx, [ebp - 0xdc]
push edx
call fcn.004b4220
test eax, eax
je 0x42e5d8
lea eax, [ebp - 0xdc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e5b5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebx + 0x950]
push eax
call fcn.00425970
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x6f2]
push edx
mov word [ebp - 0x6f4], cx
call fcn.004982c0
add esp, 0xc
push str.QHVer.dll
lea eax, [ebx + 0x410]
push eax
lea eax, [ebp - 0x6f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x6f8]
push ecx
lea ecx, [ebp - 0x6f4]
call fcn.0042d8c0
add esp, 4
mov dword [ebp - 4], 2
call fcn.00414fb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6f8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x2e2]
push edx
mov word [ebp - 0x2e4], cx
call fcn.004982c0
add esp, 0xc
push str.config.ini
lea eax, [ebx + 0x410]
push eax
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2e4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e79a
mov eax, dword [esi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x3e8
or edx, eax
jge 0x42e6ca
mov ecx, 0x3e8
mov eax, esi
call fcn.00425920
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x2e4]
push ecx
push 0x3e8
push edx
push 0x4ce6a4
push str.language
push 0x4cde9c
call edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42e70b
push ecx
push eax
call fcn.004938a4
add esp, 8
test eax, eax
jl 0x42e7f0
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42e7f0
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebx + 0x960]
mov edx, dword [eax - 8]
lea esi, [ebx + 0x960]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x3e8
or ecx, edx
jge 0x42e751
mov ecx, 0x3e8
mov eax, esi
call fcn.00425920
mov ecx, dword [esi]
lea eax, [ebp - 0x2e4]
push eax
push 0x3e8
push ecx
push 0x4c561c
push str.channel
push 0x4cde9c
call edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42e788
push ecx
push eax
call fcn.004938a4
add esp, 8
test eax, eax
jl 0x42e7f0
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42e7f0
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
mov eax, 0x4cf450
jne 0x42e7b0
mov eax, 0x4cf458
mov edx, dword [ebx + 0x828]
mov edi, dword [ebp - 0x6fc]
push eax
mov eax, dword [ebx + 0x824]
push edx
push eax
push str._d._d__s
call fcn.00425310
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00425ad0
int3