Function at 0x4198e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x51c240]
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 edi, ecx
mov dword [ebp - 0x448], 0
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
jne 0x419929
xor eax, eax
jmp 0x419ba4
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x419922
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jne 0x419b3f
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00488360
add esp, 0xc
call fcn.0040b860
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
call fcn.00455d00
push eax
push dword [0x51b168]
mov ecx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x448], ecx
call fcn.0040a930
add esp, 8
test al, al
jne 0x4199c7
call fcn.0040b860
lea ecx, [ebp - 0x440]
push ecx
mov ecx, eax
call fcn.00455d00
push eax
push dword [0x51b16c]
mov dword [ebp - 0x444], 3
call fcn.0040a930
add esp, 8
test al, al
jne 0x4199c7
xor bl, bl
jmp 0x4199c9
mov bl, 1
test byte [ebp - 0x444], 2
je 0x4199dd
lea ecx, [ebp - 0x440]
call fcn.00406560
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.00406560
test bl, bl
je 0x419b14
call fcn.0040b860
push 0
lea ecx, [ebp - 0x428]
push ecx
mov ecx, eax
call fcn.00452910
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 1
jb 0x419a1b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x448]
call fcn.00402560
lea ecx, [ebp - 0x428]
call fcn.00406560
lea ecx, [ebp - 0x444]
call fcn.00402610
mov esi, dword [ebp - 0x444]
mov ecx, 1
mov ebx, dword [ebp - 0x448]
mov byte [ebp - 4], 4
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x419a77
push 0x104
lea ecx, [ebp - 0x444]
call fcn.00403c60
mov esi, dword [ebp - 0x444]
push ebx
push 0x104
push esi
push 0x4ee708
push str.client_token
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.00495c92
add esp, 8
test eax, eax
js 0x419bc0
cmp eax, dword [esi - 8]
jg 0x419bc0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x419ad4
push esi
lea eax, [ebp - 0x210]
push 0x4ef06c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419af2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x419b14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x210]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419b20
sub edx, esi
lea eax, [ebp - 0x210]
sar edx, 1
lea ecx, [edi + 0x20]
push edx
push eax
call fcn.00403da0
mov eax, dword [edi + 0x24]
cmp dword [eax - 0xc], 0
jne 0x419b9f
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00488360
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x100
push eax
call fcn.004465d0
lea edx, [ebp - 0x410]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419b80
sub edx, ecx
lea ecx, [ebp - 0x410]
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x24]
call fcn.00403da0
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.0044db73
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402bc0
int3