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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push 0x53cbd0
mov dword [ebp - 0x350], ecx
call fcn.0042ad10
push 0x53cbd0
lea ecx, [ebp - 0x358]
call fcn.0042ad10
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
mov ecx, 0x56c260
call edx
add eax, 0x10
mov dword [ebp - 0x340], eax
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
mov ecx, 0x56c260
call edx
add eax, 0x10
mov dword [ebp - 0x348], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x2ae]
push ecx
mov word [ebp - 0x2b0], ax
call fcn.00500080
add esp, 0xc
push 0x103
lea edx, [ebp - 0x2b0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0042ad10
push eax
lea ecx, [ebp - 0x340]
call fcn.00423fc0
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push esi
push edi
mov edi, dword [ebp - 0x340]
push 0x5c
push edi
call fcn.004fe9d5
add esp, 8
test eax, eax
jne 0x42ae95
or esi, 0xffffffff
jmp 0x42ae9b
sub eax, edi
sar eax, 1
mov esi, eax
push 0x2f
push edi
call fcn.004fe9d5
add esp, 8
test eax, eax
jne 0x42aeaf
or eax, 0xffffffff
jmp 0x42aeb3
sub eax, edi
sar eax, 1
cmp esi, 0xffffffff
jne 0x42aebc
cmp eax, esi
je 0x42af1c
cmp esi, eax
jle 0x42aec2
mov eax, esi
push eax
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x340]
call fcn.00423b70
push eax
lea ecx, [ebp - 0x348]
call fcn.00423fc0
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42af03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x348]
push 0x5c
push esi
call fcn.004fe9d5
push 0x2f
push esi
call fcn.004fe9d5
add esp, 0x10
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
mov ecx, dword [ebp - 0x348]
push str.qtype.dat
push ecx
lea edx, [ebp - 0x344]
add eax, 0x10
push 0x53d2c0
push edx
mov dword [ebp - 0x344], eax
call fcn.00428a30
mov ebx, dword [ebp - 0x344]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b222
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0xa6]
push ecx
mov word [ebp - 0xa8], ax
call fcn.00500080
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push ebx
push 0x40
lea edx, [ebp - 0xa8]
push edx
push 0x53cbd0
push 0x53d2b4
push str.config
call esi
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x34c]
call fcn.0042ad10
mov edx, dword [ebp - 0x34c]
lea ecx, [ebp - 0x330]
push 3
mov dword [ebp - 0x334], ecx
push edx
lea ecx, [ebp - 0x334]
call fcn.0041f850
mov eax, dword [ebp - 0x334]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0042abe0
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x42b003
push eax
call fcn.004ff19b
add esp, 4
push 0x80
lea edx, [ebp - 0xa8]
push 0
push edx
call fcn.00500080
add esp, 0xc
push ebx
push 0x40
lea eax, [ebp - 0xa8]
push eax
push 0x53cbd0
push str.verify
push str.config
call esi
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x354]
call fcn.0042ad10
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
mov ecx, dword [ebp - 0x33c]
push ecx
push str.DKue4O_B_d9__feLO8eTY53KIT3
lea edx, [ebp - 0x338]
add eax, 0x10
push 0x53d268
push edx
mov dword [ebp - 0x338], eax
call fcn.004241d0
mov esi, dword [ebp - 0x338]
xor eax, eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 0x35c], 0x21
mov edi, dword [esi - 0xc]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x42b0c8
push edi
lea ecx, [ebp - 0x338]
call fcn.0041f7b0
mov esi, dword [ebp - 0x338]
lea ecx, [ebp - 0x35c]
push ecx
lea edx, [ebp - 0x28]
push edx
push edi
push esi
call fcn.0044be70
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x56c260
call edx
lea edi, [eax + 0x10]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x338], edi
test eax, 0xffff0000
jne 0x42b141
mov ecx, eax
movzx ebx, cx
push 0
push ebx
call fcn.0041e320
add esp, 8
test eax, eax
je 0x42b126
push ebx
push eax
lea ecx, [ebp - 0x338]
call fcn.00423560
mov edi, dword [ebp - 0x338]
mov ebx, dword [ebp - 0x344]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x42b158
push 0x80004005
call fcn.00404190
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x338]
call fcn.00423f30
mov edi, dword [ebp - 0x338]
jmp 0x42b12c
mov eax, dword [ebp - 0x354]
push edi
push eax
call fcn.004fe94a
add esp, 8
test eax, eax
jne 0x42b17e
lea ecx, [ebp - 0x34c]
push ecx
mov ecx, dword [ebp - 0x350]
call fcn.00423fc0
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b19a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b1b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x354]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b1fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b21c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x340]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b23e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x348]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b260
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebx
test edx, edx
jg 0x42b27f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x358]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x350]
xor ecx, ebp
call fcn.00500397
mov esp, ebp
pop ebp
ret