Function at 0x410110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582397
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x5e3efc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [str.RINGSTATE]
mov dword [ebp - 0x110], eax
mov ecx, dword [0x593a14]
mov dword [ebp - 0x10c], ecx
mov dx, word [0x593a18]
mov word [ebp - 0x108], dx
push 0xf5
push 0
lea eax, [ebp - 0x106]
push eax
call fcn.0055f580
add esp, 0xc
mov ecx, dword [str.SCANOPTION]
mov dword [ebp - 0x210], ecx
mov edx, dword [0x593a20]
mov dword [ebp - 0x20c], edx
mov ax, word [0x593a24]
mov word [ebp - 0x208], ax
mov cl, byte [0x593a26]
mov byte [ebp - 0x206], cl
push 0xf4
push 0
lea edx, [ebp - 0x205]
push edx
call fcn.0055f580
add esp, 0xc
mov byte [ebp - 0x310], 0
push 0xff
push 0
lea eax, [ebp - 0x30f]
push eax
call fcn.0055f580
add esp, 0xc
push 0x591fe3
lea ecx, [ebp - 0x320]
call fcn.00402050
mov dword [ebp - 4], 0
push str._scanconfig.ini
lea ecx, [ebp - 0x324]
call fcn.00402050
mov byte [ebp - 4], 1
push 0x591fe3
lea ecx, [ebp - 0x31c]
call fcn.00402050
mov byte [ebp - 4], 2
push 0x100
lea ecx, [ebp - 0x310]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x320]
call fcn.00402710
push 0x5c
lea ecx, [ebp - 0x320]
call fcn.00404860
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
push eax
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x320]
call fcn.00403740
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x330]
push eax
lea ecx, [ebp - 0x320]
call fcn.004026f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00402340
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x340]
push eax
call fcn.00402740
add esp, 0xc
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x33c]
push edx
lea ecx, [ebp - 0x31c]
call fcn.004026f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x340]
call fcn.00402340
cmp dword [ebp + 8], 0
je 0x41033c
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push str.ordering
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x410329
mov byte [ebp - 0x311], 1
jmp 0x410330
mov byte [ebp - 0x311], 0
movzx ecx, byte [ebp - 0x311]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
cmp dword [ebp + 0xc], 0
je 0x410382
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push str.sring
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x41036f
mov byte [ebp - 0x312], 1
jmp 0x410376
mov byte [ebp - 0x312], 0
movzx ecx, byte [ebp - 0x312]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
cmp dword [ebp + 0x10], 0
je 0x4103c8
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push 0x5927ac
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4103b5
mov byte [ebp - 0x313], 1
jmp 0x4103bc
mov byte [ebp - 0x313], 0
movzx ecx, byte [ebp - 0x313]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp + 0x14], 0
je 0x41040e
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push str.erps
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4103fb
mov byte [ebp - 0x314], 1
jmp 0x410402
mov byte [ebp - 0x314], 0
movzx ecx, byte [ebp - 0x314]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
cmp dword [ebp + 0x18], 0
je 0x410454
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push str.badpacket
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x410441
mov byte [ebp - 0x315], 1
jmp 0x410448
mov byte [ebp - 0x315], 0
movzx ecx, byte [ebp - 0x315]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
cmp dword [ebp + 0x1c], 0
je 0x41049a
lea ecx, [ebp - 0x31c]
call fcn.00402730
push eax
push 0
push str.specifictype
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x410487
mov byte [ebp - 0x316], 1
jmp 0x41048e
mov byte [ebp - 0x316], 0
movzx ecx, byte [ebp - 0x316]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.00402340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x324]
call fcn.00402340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.00402340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d390
mov esp, ebp
pop ebp
ret