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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be9b1
mov eax, dword fs:[0]
push eax
sub esp, 0x6f0
mov eax, dword [0x4e9688]
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.00497780
add esp, 0xc
mov dword [edi], 0x11c
call fcn.0042cc50
test eax, eax
jne 0x42d98b
push 0x11c
push eax
push edi
call fcn.00497780
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.00497780
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.00496c06
add esp, 0x14
lea eax, [ebp - 0x6f8]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.00424e40
lea eax, [ebp - 0x6f8]
mov edi, 0x4f1698
mov dword [ebp - 4], 0
call fcn.004146d0
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 0x42da20
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.00424e40
lea eax, [ebp - 0x6f8]
mov edi, 0x4f169c
mov dword [ebp - 4], 1
call fcn.004146d0
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 0x42da6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4f3354], 0
jne 0x42da86
mov ecx, dword [0x4f1698]
push ecx
call fcn.00423ab0
add esp, 4
lea edx, [ebx + 0x974]
push edx
mov ecx, 0x4f169c
call fcn.00408100
push 0
lea eax, [ebx + 0x950]
push 0x4c4348
push eax
call fcn.00425060
push 0
push 0x4c4348
lea edi, [ebx + 0x954]
push edi
call fcn.00425060
push 0
push 0x4c4348
lea esi, [ebx + 0x958]
push esi
call fcn.00425060
push 0
lea eax, [ebx + 0x960]
push 0x4c4348
push eax
call fcn.00425060
push 0
lea eax, [ebx + 0x95c]
push 0x4c4348
push eax
mov dword [ebp - 0x6fc], eax
call fcn.00425060
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xda]
push ecx
mov word [ebp - 0xdc], ax
call fcn.00497780
add esp, 0xc
push 0x64
lea edx, [ebp - 0xdc]
push edx
call fcn.004b3730
test eax, eax
je 0x42db58
lea eax, [ebp - 0xdc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42db35
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebx + 0x950]
push eax
call fcn.00425060
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x6f2]
push edx
mov word [ebp - 0x6f4], cx
call fcn.00497780
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.0042ce30
add esp, 4
mov dword [ebp - 4], 2
call fcn.004146d0
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 0x42dbd9
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.00497780
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 0x42dd1a
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 0x42dc4a
mov ecx, 0x3e8
mov eax, esi
call fcn.00425010
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x2e4]
push ecx
push 0x3e8
push edx
push 0x4cd21c
push str.language
push 0x4cca24
call edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42dc8b
push ecx
push eax
call fcn.00492d63
add esp, 8
test eax, eax
jl 0x42dd70
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42dd70
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 0x42dcd1
mov ecx, 0x3e8
mov eax, esi
call fcn.00425010
mov ecx, dword [esi]
lea eax, [ebp - 0x2e4]
push eax
push 0x3e8
push ecx
push 0x4c4348
push str.channel
push 0x4cca24
call edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42dd08
push ecx
push eax
call fcn.00492d63
add esp, 8
test eax, eax
jl 0x42dd70
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42dd70
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, 0x4ce000
jne 0x42dd30
mov eax, 0x4ce008
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.00424a00
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.00491281
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004251c0
int3