Function at 0x41f960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e83c2
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x524250]
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 - 0x264], ecx
mov dword [ebp - 0x250], 0
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jne 0x41fa84
lea eax, [ebp - 0x258]
push eax
call fcn.00422ac0
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 - 0x254]
or ebx, 0xffffffff
mov byte [ebp - 0x241], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41fa02
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x41fa02
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41fa02
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x241], 0
je 0x41fa7d
lea eax, [ebp - 0x258]
push eax
call fcn.00422ac0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 1
call fcn.0040ca20
mov esi, eax
push str.CheckParams_files_is_empty
push esi
mov byte [ebp - 4], 2
call fcn.00402690
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404370
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x41fa7d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41fa7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41fa7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x41fef9
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x41fb4e
lea eax, [ebp - 0x258]
push eax
call fcn.00422ac0
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 - 0x254]
mov byte [ebp - 0x241], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41faee
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x41faee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41fae8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x241]
test al, al
je 0x41fa7d
lea eax, [ebp - 0x258]
push eax
call fcn.00422ac0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 4
call fcn.0040ca20
mov esi, eax
push str.CheckParams_m_strVersion_is_empty
push esi
mov byte [ebp - 4], 5
call fcn.00402690
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404370
lea ecx, [ebp - 0x258]
call fcn.00403e20
xor eax, eax
jmp 0x41fef9
lea eax, [ecx + 0x20]
mov dword [ebp - 0x254], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x41fe9a
lea eax, [ebp - 0x24c]
push eax
call fcn.0041df30
add esp, 4
mov dword [ebp - 4], 6
call fcn.0040e000
lea ecx, [ebp - 0x228]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x523158]
mov ecx, 1
mov byte [ebp - 4], 7
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x250], ecx
call fcn.0040bd10
add esp, 8
test al, al
jne 0x41fbe8
call fcn.0040e000
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x52315c]
mov dword [ebp - 0x248], 3
call fcn.0040bd10
add esp, 8
test al, al
jne 0x41fbe8
xor bl, bl
jmp 0x41fbea
mov bl, 1
test byte [ebp - 0x248], 2
je 0x41fbfe
lea ecx, [ebp - 0x240]
call fcn.00403c70
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 6
call fcn.00403c70
or edi, 0xffffffff
test bl, bl
je 0x41fdbf
call fcn.0040e000
push 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 8
jb 0x41fc3c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040c160
lea ecx, [ebp - 0x228]
call fcn.00403c70
lea ecx, [ebp - 0x248]
call fcn.0040c210
mov esi, dword [ebp - 0x248]
mov ecx, 1
mov ebx, dword [ebp - 0x250]
mov byte [ebp - 4], 0xb
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41fc98
push 0x104
lea ecx, [ebp - 0x248]
call fcn.004060c0
mov esi, dword [ebp - 0x248]
push ebx
push 0x104
push esi
push 0x4f5574
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004bdbf3
add esp, 8
test eax, eax
js 0x41ff15
cmp eax, dword [esi - 8]
jg 0x41ff15
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x260]
push eax
call fcn.00422ac0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov bl, al
call fcn.00403e20
test bl, bl
je 0x41fd6b
lea eax, [ebp - 0x260]
push eax
call fcn.00422ac0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xd
call fcn.0040ca20
mov edi, eax
push str.ProductId__entludashi__modefy_mid_to_token_
push edi
mov byte [ebp - 4], 0xe
call fcn.0040cfe0
push esi
push edi
call fcn.00402690
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404370
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
call fcn.00403e20
or edi, 0xffffffff
cmp dword [esi - 0xc], 0
je 0x41fd83
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004041b0
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41fd9e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fdbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
call fcn.00422ac0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
mov bl, al
call fcn.00403e20
test bl, bl
je 0x41fe60
lea eax, [ebp - 0x260]
push eax
call fcn.00422ac0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x10
call fcn.0040ca20
mov edi, eax
push str.mid_
push edi
mov byte [ebp - 4], 0x11
call fcn.0040cfe0
mov edx, dword [ebp - 0x24c]
mov esi, 0x4f5800
test edx, edx
cmovne esi, edx
push esi
push edi
call fcn.00402690
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404370
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00403e20
or edi, 0xffffffff
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x24c]
push eax
call fcn.004041b0
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41fe94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx + 0x24]
lea esi, [ecx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x41fef4
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00490690
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0044cdf0
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41fed6
sub edx, ecx
lea ecx, [ebp - 0x210]
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00406410
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.0045568a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404b50
int3