Function at 0x4203b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8027
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x523228]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], 0
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jne 0x4204d4
lea eax, [ebp - 0x454]
push eax
call fcn.00423510
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x450]
or ebx, 0xffffffff
mov byte [ebp - 0x441], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x420452
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x420452
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x420452
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x441], 0
je 0x4204cd
lea eax, [ebp - 0x454]
push eax
call fcn.00423510
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 1
call fcn.0040d990
mov esi, eax
push str.CheckParams_files_is_empty
push esi
mov byte [ebp - 4], 2
call fcn.00403f80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405be0
mov esi, dword [ebp - 0x450]
test esi, esi
je 0x4204cd
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4204cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4204cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x420947
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x42059e
lea eax, [ebp - 0x454]
push eax
call fcn.00423510
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 3
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x450]
mov byte [ebp - 0x441], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42053e
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x42053e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x420538
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x441]
test al, al
je 0x4204cd
lea eax, [ebp - 0x454]
push eax
call fcn.00423510
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 4
call fcn.0040d990
mov esi, eax
push str.CheckParams_m_strVersion_is_empty
push esi
mov byte [ebp - 4], 5
call fcn.00403f80
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405be0
lea ecx, [ebp - 0x454]
call fcn.004056c0
xor eax, eax
jmp 0x420947
lea eax, [ecx + 0x20]
mov dword [ebp - 0x460], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x4208e8
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00488730
add esp, 0xc
call fcn.0040ee80
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
call fcn.00456410
push eax
push dword [0x522160]
mov ecx, 1
mov dword [ebp - 4], 6
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], ecx
call fcn.0040cfa0
add esp, 8
test al, al
jne 0x42063b
call fcn.0040ee80
lea ecx, [ebp - 0x440]
push ecx
mov ecx, eax
call fcn.00456410
push eax
push dword [0x522164]
mov dword [ebp - 0x448], 3
call fcn.0040cfa0
add esp, 8
test al, al
jne 0x42063b
xor bl, bl
jmp 0x42063d
mov bl, 1
test byte [ebp - 0x448], 2
je 0x420651
lea ecx, [ebp - 0x440]
call fcn.00405510
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.00405510
test bl, bl
je 0x420813
call fcn.0040ee80
push 0
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
call fcn.00453020
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 7
jb 0x42068f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00402570
lea ecx, [ebp - 0x428]
call fcn.00405510
lea ecx, [ebp - 0x448]
call fcn.00402620
mov esi, dword [ebp - 0x448]
mov ecx, 1
mov edi, dword [ebp - 0x44c]
mov byte [ebp - 4], 0xa
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4206eb
push 0x104
lea ecx, [ebp - 0x448]
call fcn.00403c70
mov esi, dword [ebp - 0x448]
push edi
push 0x104
push esi
push 0x4f4708
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.00496062
add esp, 8
test eax, eax
js 0x420963
cmp eax, dword [esi - 8]
jg 0x420963
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x45c]
push eax
call fcn.00423510
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0xa
mov bl, al
call fcn.004056c0
test bl, bl
je 0x4207b7
lea eax, [ebp - 0x45c]
push eax
call fcn.00423510
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0xc
call fcn.0040d990
mov edi, eax
push str.ProductId__entludashi__modefy_mid_to_token_
push edi
mov byte [ebp - 4], 0xd
call fcn.0040df50
push esi
push edi
call fcn.00403f80
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405be0
lea ecx, [ebp - 0x45c]
call fcn.004056c0
cmp dword [esi - 0xc], 0
je 0x4207d3
push esi
lea eax, [ebp - 0x210]
push 0x4f528c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
or ebx, 0xffffffff
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4207f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x420813
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x45c]
push eax
call fcn.00423510
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 0xe
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.004056c0
test bl, bl
je 0x4208b3
lea eax, [ebp - 0x45c]
push eax
call fcn.00423510
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 0xf
call fcn.0040d990
mov esi, eax
push str.mid_
push esi
mov byte [ebp - 4], 0x10
call fcn.0040df50
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.00403f80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405be0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
call fcn.004056c0
lea edx, [ebp - 0x210]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4208c0
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x210]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00403db0
mov ecx, dword [ebp - 0x450]
mov eax, dword [ecx + 0x24]
lea esi, [ecx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x420942
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00488730
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x100
push eax
call fcn.00447a90
lea edx, [ebp - 0x410]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420924
sub edx, ecx
lea ecx, [ebp - 0x410]
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00403db0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f043
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402bd0
int3