Function at 0x420740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9237
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x525248]
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 0x420864
lea eax, [ebp - 0x454]
push eax
call fcn.00423940
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 0x4207e2
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x4207e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4207e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x441], 0
je 0x42085d
lea eax, [ebp - 0x454]
push eax
call fcn.00423940
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 1
call fcn.0040de80
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 0x42085d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42085d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42085d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x420cd7
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x42092e
lea eax, [ebp - 0x454]
push eax
call fcn.00423940
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 0x4208ce
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x4208ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4208c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x441]
test al, al
je 0x42085d
lea eax, [ebp - 0x454]
push eax
call fcn.00423940
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 4
call fcn.0040de80
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 0x420cd7
lea eax, [ecx + 0x20]
mov dword [ebp - 0x460], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x420c78
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00480c50
add esp, 0xc
call fcn.0040aa80
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x52417c]
mov ecx, 1
mov dword [ebp - 4], 6
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], ecx
call fcn.0040d490
add esp, 8
test al, al
jne 0x4209cb
call fcn.0040aa80
lea ecx, [ebp - 0x440]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x524180]
mov dword [ebp - 0x448], 3
call fcn.0040d490
add esp, 8
test al, al
jne 0x4209cb
xor bl, bl
jmp 0x4209cd
mov bl, 1
test byte [ebp - 0x448], 2
je 0x4209e1
lea ecx, [ebp - 0x440]
call fcn.00405720
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.00405720
test bl, bl
je 0x420ba3
call fcn.0040aa80
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 0x420a1f
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 0x420a7b
push 0x104
lea ecx, [ebp - 0x448]
call fcn.00403e70
mov esi, dword [ebp - 0x448]
push edi
push 0x104
push esi
push 0x4f6718
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.0048e582
add esp, 8
test eax, eax
js 0x420cf3
cmp eax, dword [esi - 8]
jg 0x420cf3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x45c]
push eax
call fcn.00423940
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 0x420b47
lea eax, [ebp - 0x45c]
push eax
call fcn.00423940
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0xc
call fcn.0040de80
mov edi, eax
push str.ProductId__entludashi__modefy_mid_to_token_
push edi
mov byte [ebp - 4], 0xd
call fcn.0040e420
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 0x420b63
push esi
lea eax, [ebp - 0x210]
push 0x4f72ac
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 0x420b81
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 0x420ba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x45c]
push eax
call fcn.00423940
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 0x420c43
lea eax, [ebp - 0x45c]
push eax
call fcn.00423940
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 4], 0xf
call fcn.0040de80
mov esi, eax
push str.mid_
push esi
mov byte [ebp - 4], 0x10
call fcn.0040e420
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 0x420c50
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 0x420cd2
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00480c50
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x100
push eax
call fcn.00447ec0
lea edx, [ebp - 0x410]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420cb4
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.0045074a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402dd0
int3