Function at 0x140005720
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x2c], 0x13be6
mov dword [rsp + 0x20], 0x1181b
mov dword [rsp + 0x28], 0x43cb
mov dword [rsp + 0x24], 0x351a
mov eax, dword [rsp + 0x20]
add eax, 0x118ef
sub eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
shr eax, cl
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [0x14003ec18]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x6d5c
je 0x140005c29
cmp dword [rsp + 0x30], 0x99f4
je 0x1400059f6
cmp dword [rsp + 0x30], 0xc2a9
je 0x1400057d4
cmp dword [rsp + 0x30], 0x1368f
je 0x140005ae6
jmp 0x140005c74
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x1400057e8
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [0x14003eb08]
cmp dword [rsp + 0x34], eax
jbe 0x1400059f1
call fcn.14000aff0
cmp dword [0x14003eb08], eax
jae 0x140005821
mov eax, dword [0x14003ec18]
cmp dword [rsp + 0x20], eax
jae 0x140005821
mov eax, dword [0x14003eae4]
cmp dword [rsp + 0x2c], eax
ja 0x140005929
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [0x14003eae4]
mov dword [rsp + 0x38], eax
jmp 0x14000583f
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jl 0x140005924
mov eax, 0xe582
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x48], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x20]
sub eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x48]
sar eax, cl
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x20]
mov eax, edx
xor edx, edx
div dword [rsp + 0x28]
mov eax, edx
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx + 0xd7ff]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x28]
mov eax, edx
sub eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x24]
xor edx, edx
div dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
add eax, 0x491b
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x24]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
jmp 0x140005835
jmp 0x1400059ec
imul eax, dword [rsp + 0x20], 0x9c09
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x2c]
movzx ecx, al
mov eax, dword [rsp + 0x20]
shr eax, cl
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
sub edx, ecx
mov ecx, edx
add ecx, 0x13854
and eax, ecx
mov dword [0x14003ec18], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x28]
mov eax, edx
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
sar eax, cl
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
call fcn.1400081f0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x24]
mov dword [0x14003eb04], eax
mov eax, dword [0x14003eb08]
cmp dword [rsp + 0x2c], eax
je 0x140005929
jmp 0x1400057de
jmp 0x140005db5
mov eax, dword [0x14003eb08]
mov dword [rsp + 0x3c], eax
jmp 0x140005a0c
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x3c], eax
jge 0x140005ae6
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0x14ed6
idiv ecx
xor edx, edx
div dword [rsp + 0x28]
mov ecx, 0xce5a
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
call fcn.140001ad0
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
add ecx, dword [rsp + 0x20]
shl eax, cl
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
shr eax, 0x85
or eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x28]
or eax, 0x804e
mov dword [rsp + 0x20], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x2c]
mov dword [0x14003eb08], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
jmp 0x140005a02
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
jmp 0x140005afa
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov eax, dword [0x14003ec2c]
cmp dword [rsp + 0x40], eax
jl 0x140005c29
mov eax, dword [rsp + 0x28]
cmp dword [0x14003ebc8], eax
ja 0x140005c24
mov edx, dword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CopyRect]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.USER32.dll_ChildWindowFromPoint]
mov dword [rsp + 0x20], eax
mov eax, 0x154e
sub eax, dword [rsp + 0x28]
mov ecx, 0x3efc
mov dword [rsp + 0x54], ecx
movzx ecx, al
mov eax, dword [rsp + 0x54]
sar eax, cl
mov ecx, 0x6fd8
sub ecx, dword [rsp + 0x20]
shl eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 0x16831
idiv ecx
xor edx, edx
div dword [rsp + 0x20]
mov eax, edx
mov dword [rsp + 0x58], eax
mov eax, 0xd43b
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [0x14003ec2c], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x2c]
mov ecx, 0xf846
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x20]
call fcn.140003180
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
jmp 0x140005af0
mov eax, dword [rsp + 0x20]
mov ecx, 0xa7b2
mov dword [rsp + 0x60], ecx
movzx ecx, al
mov eax, dword [rsp + 0x60]
shl eax, cl
mov dword [rsp + 0x24], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 0x10f8e
div ecx
mov eax, edx
sub eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
shr eax, cl
mov ecx, dword [rsp + 0x2c]
add ecx, 0x16b1
and eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x24]
sub eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
shl eax, cl
mov dword [0x14003eb04], eax
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
imul ecx, dword [rsp + 0x28], 0x1422d
xor edx, edx
mov eax, ecx
div dword [rsp + 0x28]
mov eax, edx
xor edx, edx
div dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
add eax, 0x9a4a
mov ecx, dword [rsp + 0x20]
shl eax, cl
mov ecx, dword [rsp + 0x24]
shr eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
xor eax, eax
cdq
idiv dword [rsp + 0x24]
mov eax, edx
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
call fcn.140001ad0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
imul ecx, dword [rsp + 0x24]
sub eax, ecx
sub eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
shr eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [0x14003ec2c]
cmp dword [rsp + 0x20], eax
je 0x140005cdc
mov eax, dword [rsp + 0x24]
cmp dword [0x14003eb04], eax
jb 0x140005ca6
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
add rsp, 0x78
ret