Function at 0x46045a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
and dword [ebp - 4], 0
mov byte [ebp - 0x171], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x178]
add ecx, 0x48
call fcn.0046bf14
mov eax, dword [ebp - 0x178]
add eax, 0x48
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov eax, dword [eax]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x190]
jne 0x4604f2
mov dword [ebp - 0x17c], 1
jmp 0x4604f9
and dword [ebp - 0x17c], 0
movzx eax, byte [ebp - 0x17c]
test eax, eax
jne 0x460510
mov dword [ebp - 0x180], 1
jmp 0x460517
and dword [ebp - 0x180], 0
movzx eax, byte [ebp - 0x180]
test eax, eax
je 0x460738
lea ecx, [ebp - 0x128]
call fcn.0040b2fe
mov byte [ebp - 4], 1
lea eax, [ebp - 0x128]
push eax
call fcn.004822ed
pop ecx
push 0x536394
lea ecx, [ebp - 0x140]
call fcn.00409053
mov byte [ebp - 4], 2
push 0x5c
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00481988
add esp, 0x10
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x198]
lea ecx, [ebp - 0x128]
call fcn.0041dc17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x170]
call fcn.0040a62b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x170]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 2
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x140]
call fcn.0040a62b
mov byte [ebp - 4], 9
mov byte [ebp - 4], 1
lea eax, [ebp - 0x140]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 1
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x536214
lea eax, [ebp - 0x110]
push eax
call fcn.00418a75
add esp, 0x10
lea ecx, [ebp - 0x128]
call fcn.0040a5f1
mov dword [ebp - 0x19c], eax
push dword [ebp - 0x19c]
push 0
push str.UsesTCLSLoginOnly
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x184]
add eax, 0x10
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
add eax, 8
push eax
lea ecx, [ebp - 0x158]
call fcn.00409053
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x178]
call fcn.00461f36
mov byte [ebp - 0x173], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x158]
call fcn.0040a62b
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 1
lea eax, [ebp - 0x158]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 1
movzx eax, byte [ebp - 0x173]
test eax, eax
je 0x4606e4
mov byte [ebp - 0x171], 1
jmp 0x460709
cmp dword [ebp - 0x1a4], 1
jne 0x4606f6
mov byte [ebp - 0x172], 1
jmp 0x4606fd
mov byte [ebp - 0x172], 0
mov al, byte [ebp - 0x172]
mov byte [ebp - 0x171], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x128]
call fcn.0040a62b
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x171]
mov byte [ebp - 0x174], al
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret 8