Function at 0x41b330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df162
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x518250]
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 0x41b454
lea eax, [ebp - 0x258]
push eax
call fcn.0041e4b0
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 0x41b3d2
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x41b3d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41b3d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x241], 0
je 0x41b44d
lea eax, [ebp - 0x258]
push eax
call fcn.0041e4b0
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.00402680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404360
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x41b44d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41b44d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41b44d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x41b8c9
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x41b51e
lea eax, [ebp - 0x258]
push eax
call fcn.0041e4b0
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 0x41b4be
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x41b4be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41b4b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x241]
test al, al
je 0x41b44d
lea eax, [ebp - 0x258]
push eax
call fcn.0041e4b0
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.00402680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404360
lea ecx, [ebp - 0x258]
call fcn.00403e10
xor eax, eax
jmp 0x41b8c9
lea eax, [ecx + 0x20]
mov dword [ebp - 0x254], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x41b86a
lea eax, [ebp - 0x24c]
push eax
call fcn.004196d0
add esp, 4
mov dword [ebp - 4], 6
call fcn.0040df40
lea ecx, [ebp - 0x228]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x517158]
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 0x41b5b8
call fcn.0040df40
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [0x51715c]
mov dword [ebp - 0x248], 3
call fcn.0040bd10
add esp, 8
test al, al
jne 0x41b5b8
xor bl, bl
jmp 0x41b5ba
mov bl, 1
test byte [ebp - 0x248], 2
je 0x41b5ce
lea ecx, [ebp - 0x240]
call fcn.00403c60
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 6
call fcn.00403c60
or edi, 0xffffffff
test bl, bl
je 0x41b78f
call fcn.0040df40
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 0x41b60c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040c160
lea ecx, [ebp - 0x228]
call fcn.00403c60
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 0x41b668
push 0x104
lea ecx, [ebp - 0x248]
call fcn.004060b0
mov esi, dword [ebp - 0x248]
push ebx
push 0x104
push esi
push 0x4eb534
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004b5263
add esp, 8
test eax, eax
js 0x41b8e5
cmp eax, dword [esi - 8]
jg 0x41b8e5
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x260]
push eax
call fcn.0041e4b0
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.00403e10
test bl, bl
je 0x41b73b
lea eax, [ebp - 0x260]
push eax
call fcn.0041e4b0
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.00402680
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404360
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
call fcn.00403e10
or edi, 0xffffffff
cmp dword [esi - 0xc], 0
je 0x41b753
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004041a0
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b76e
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 0x41b78f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
call fcn.0041e4b0
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.00403e10
test bl, bl
je 0x41b830
lea eax, [ebp - 0x260]
push eax
call fcn.0041e4b0
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, 0x4eb7c0
test edx, edx
cmovne esi, edx
push esi
push edi
call fcn.00402680
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x2fc]
call fcn.00404360
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00403e10
or edi, 0xffffffff
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x24c]
push eax
call fcn.004041a0
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 0x41b864
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 0x41b8c4
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00487d10
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.00448830
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41b8a6
sub edx, ecx
lea ecx, [ebp - 0x210]
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00406400
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.0045124a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404b40
int3