Function at 0x4213f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9f87
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x526260]
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 0x421514
lea eax, [ebp - 0x454]
push eax
call fcn.00424550
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 0x421492
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x421492
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x421492
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x441], 0
je 0x42150d
lea eax, [ebp - 0x454]
push eax
call fcn.00424550
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 1
call fcn.00410790
mov esi, eax
push str.CheckParams_files_is_empty
push esi
mov byte [ebp - 4], 2
call fcn.00404180
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405df0
mov esi, dword [ebp - 0x450]
test esi, esi
je 0x42150d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42150d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42150d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x421987
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x4215de
lea eax, [ebp - 0x454]
push eax
call fcn.00424550
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 0x42157e
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x42157e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x421578
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x441]
test al, al
je 0x42150d
lea eax, [ebp - 0x454]
push eax
call fcn.00424550
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 4
call fcn.00410790
mov esi, eax
push str.CheckParams_m_strVersion_is_empty
push esi
mov byte [ebp - 4], 5
call fcn.00404180
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405df0
lea ecx, [ebp - 0x454]
call fcn.004058d0
xor eax, eax
jmp 0x421987
lea eax, [ecx + 0x20]
mov dword [ebp - 0x460], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x421928
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00491dd0
add esp, 0xc
call fcn.00411a20
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x525168]
mov ecx, 1
mov dword [ebp - 4], 6
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], ecx
call fcn.004105e0
add esp, 8
test al, al
jne 0x42167b
call fcn.00411a20
lea ecx, [ebp - 0x440]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x52516c]
mov dword [ebp - 0x448], 3
call fcn.004105e0
add esp, 8
test al, al
jne 0x42167b
xor bl, bl
jmp 0x42167d
mov bl, 1
test byte [ebp - 0x448], 2
je 0x421691
lea ecx, [ebp - 0x440]
call fcn.00405720
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.00405720
test bl, bl
je 0x421853
call fcn.00411a20
push 0
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 7
jb 0x4216cf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00402770
lea ecx, [ebp - 0x428]
call fcn.00405720
lea ecx, [ebp - 0x448]
call fcn.00402820
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 0x42172b
push 0x104
lea ecx, [ebp - 0x448]
call fcn.00403e70
mov esi, dword [ebp - 0x448]
push edi
push 0x104
push esi
push 0x4f7718
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.0049f702
add esp, 8
test eax, eax
js 0x4219a3
cmp eax, dword [esi - 8]
jg 0x4219a3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x45c]
push eax
call fcn.00424550
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.004058d0
test bl, bl
je 0x4217f7
lea eax, [ebp - 0x45c]
push eax
call fcn.00424550
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0xc
call fcn.00410790
mov edi, eax
push str.ProductId__entludashi__modefy_mid_to_token_
push edi
mov byte [ebp - 4], 0xd
call fcn.00410b60
push esi
push edi
call fcn.00404180
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405df0
lea ecx, [ebp - 0x45c]
call fcn.004058d0
cmp dword [esi - 0xc], 0
je 0x421813
push esi
lea eax, [ebp - 0x210]
push 0x4f83dc
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 0x421831
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 0x421853
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x45c]
push eax
call fcn.00424550
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.004058d0
test bl, bl
je 0x4218f3
lea eax, [ebp - 0x45c]
push eax
call fcn.00424550
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 0xf
call fcn.00410790
mov esi, eax
push str.mid_
push esi
mov byte [ebp - 4], 0x10
call fcn.00410b60
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.00404180
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x4f8]
call fcn.00405df0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
call fcn.004058d0
lea edx, [ebp - 0x210]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x421900
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x210]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00403fb0
mov ecx, dword [ebp - 0x450]
mov eax, dword [ecx + 0x24]
lea esi, [ecx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x421982
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00491dd0
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x100
push eax
call fcn.0044e8e0
lea edx, [ebp - 0x410]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x421964
sub edx, ecx
lea ecx, [ebp - 0x410]
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00403fb0
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.0045716c
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402dd0
int3