Function at 0x40cc10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626df5
mov eax, dword fs:[0]
push eax
mov eax, 0x2930
call fcn.005b5230
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2924], ecx
mov dword [ebp - 0x2920], 0
xor eax, eax
mov word [ebp - 0x281c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x281a]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x81c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x101c], cx
push 0x7fe
push 0
lea edx, [ebp - 0x101a]
push edx
call fcn.005b4de0
add esp, 0xc
mov ecx, dword [ebp - 0x2924]
add ecx, 0x120
call fcn.0040e5d0
push eax
push 0x400
lea eax, [ebp - 0x281c]
push eax
push 0x63b31c
push 0x63b320
push 0x63b330
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x2924]
add ecx, 0x120
call fcn.0040e5d0
push eax
push 0x400
lea ecx, [ebp - 0x81c]
push ecx
push 0x63b340
push str.MainID
push 0x63b354
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x2924]
add ecx, 0x104
call fcn.0040e5d0
push eax
push 0x64
lea edx, [ebp - 0x101c]
push edx
push 0x63b364
push str.LoginType
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x63b390
lea eax, [ebp - 0x281c]
push eax
call fcn.005b51f3
add esp, 8
test eax, eax
jne 0x40cd85
push 0x63b394
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2920]
or ecx, 1
mov dword [ebp - 0x2920], ecx
mov eax, dword [ebp + 8]
jmp 0x40d019
push 0x63aa3a
lea ecx, [ebp - 0x2858]
call fcn.0040e3a0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x281c]
push edx
lea ecx, [ebp - 0x2874]
call fcn.0040e4b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2874]
push eax
lea ecx, [ebp - 0x2890]
push ecx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x2928], eax
mov edx, dword [ebp - 0x2928]
mov dword [ebp - 0x292c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x292c]
push eax
lea ecx, [ebp - 0x2858]
call fcn.0040e400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2890]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2874]
call fcn.0040e530
push 0x63b398
lea ecx, [ebp - 0x2858]
call fcn.0040e440
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x28ac]
call fcn.0040e4b0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28ac]
push edx
lea eax, [ebp - 0x28c8]
push eax
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x2930], eax
mov ecx, dword [ebp - 0x2930]
mov dword [ebp - 0x2934], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2934]
push edx
lea ecx, [ebp - 0x2858]
call fcn.0040e420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c8]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28ac]
call fcn.0040e530
push 0x63b39c
lea ecx, [ebp - 0x2858]
call fcn.0040e440
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x28e4]
call fcn.0040e4b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28e4]
push ecx
lea edx, [ebp - 0x2900]
push edx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x2938], eax
mov eax, dword [ebp - 0x2938]
mov dword [ebp - 0x293c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x293c]
push ecx
lea ecx, [ebp - 0x2858]
call fcn.0040e420
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2900]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28e4]
call fcn.0040e530
lea edx, [ebp - 0x2858]
push edx
lea eax, [ebp - 0x2838]
push eax
call fcn.00433400
add esp, 8
mov byte [ebp - 4], 8
mov byte [ebp - 0x201c], 0
push 0xfff
push 0
lea ecx, [ebp - 0x201b]
push ecx
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x2838]
call fcn.0040ee50
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1000
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x201c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2838]
call fcn.0040e460
push eax
call fcn.0042ad20
add esp, 0x10
lea ecx, [ebp - 0x2839]
call fcn.0045ac00
mov byte [ebp - 4], 9
lea edx, [ebp - 0x201c]
push edx
lea ecx, [ebp - 0x2839]
call fcn.0045ace0
lea eax, [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x291c]
call fcn.0040e3a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x291c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00439f10
add esp, 8
mov eax, dword [ebp - 0x2920]
or eax, 1
mov dword [ebp - 0x2920], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x291c]
call fcn.0040e3e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2839]
call fcn.0045ac10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2838]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2858]
call fcn.0040e3e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4