Function at 0x1400111ae
Capabilities:
Terminate process

Disassembly:
jmp 0x140012c60
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x598
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xfa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x5b8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x558], rax
lea rcx, [0x140025048]
call fcn.1400113fc
xor ecx, ecx
call fcn.140013810
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
lea rdx, [0x14001bf74]
lea rcx, str.Conf.ini
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012cee
lea rcx, str.Cannot_find_the_file_
call fcn.1400111ea
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov r8, qword [rbp + 8]
mov edx, 0x64
lea rcx, [rbp + 0x30]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x30]
call fcn.1400111c2
mov byte [rbp + rax + 0x2f], 0
mov r8, qword [rbp + 8]
mov edx, 0x64
lea rcx, [rbp + 0x94]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x94]
call fcn.1400111c2
mov byte [rbp + rax + 0x93], 0
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x488], rax
cmp qword [rbp + 0x488], 0x32
jae 0x140012d71
jmp 0x140012d76
call fcn.14001130c
mov rax, qword [rbp + 0x488]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0xf8], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x4a8], rax
cmp qword [rbp + 0x4a8], 0x32
jae 0x140012dd0
jmp 0x140012dd5
call fcn.14001130c
mov rax, qword [rbp + 0x4a8]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0xfc], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x4c8], rax
cmp qword [rbp + 0x4c8], 0x32
jae 0x140012e2f
jmp 0x140012e34
call fcn.14001130c
mov rax, qword [rbp + 0x4c8]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x100], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x4e8], rax
cmp qword [rbp + 0x4e8], 0x32
jae 0x140012e8e
jmp 0x140012e93
call fcn.14001130c
mov rax, qword [rbp + 0x4e8]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x104], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x508], rax
cmp qword [rbp + 0x508], 0x32
jae 0x140012eed
jmp 0x140012ef2
call fcn.14001130c
mov rax, qword [rbp + 0x508]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x108], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x528], rax
cmp qword [rbp + 0x528], 0x32
jae 0x140012f4c
jmp 0x140012f51
call fcn.14001130c
mov rax, qword [rbp + 0x528]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x10c], eax
mov r8, qword [rbp + 8]
mov edx, 0x32
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x138]
call fcn.1400111c2
dec rax
mov qword [rbp + 0x548], rax
cmp qword [rbp + 0x548], 0x32
jae 0x140012fab
jmp 0x140012fb0
call fcn.14001130c
mov rax, qword [rbp + 0x548]
mov byte [rbp + rax + 0x138], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x110], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
cmp dword [rbp + 0x580], 1
jne 0x140013130
call fcn.1400113ed
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 1
jne 0x140013087
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113ca
mov qword [rbp + 0x1a8], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1a8]
call fcn.140011028
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1a8]
call fcn.1400110f5
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1a8]
call fcn.1400110a5
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001312b
cmp dword [rbp + 0x184], 2
jne 0x140013117
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113de
mov qword [rbp + 0x1c8], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1c8]
call fcn.140011361
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1c8]
call fcn.1400113b1
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x1c8]
call fcn.140011078
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001312b
lea rcx, str.error_
call fcn.1400111ea
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x14001358c
cmp dword [rbp + 0x580], 2
jne 0x140013313
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.14001118b
mov dword [rbp + 0x1e4], eax
cmp dword [rbp + 0x1e4], 0
je 0x14001318f
mov eax, dword [rbp + 0x1e4]
cmp dword [rbp + 0x110], eax
jg 0x14001318d
mov eax, dword [rbp + 0x10c]
cmp dword [rbp + 0x1e4], eax
jg 0x14001318d
mov eax, dword [rbp + 0x1e4]
mov dword [rbp + 0xf8], eax
jmp 0x1400131cc
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.140011145
test eax, eax
je 0x1400131cc
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x94]
call fcn.140011159
call fcn.1400113ed
mov dword [rbp + 0x204], eax
cmp dword [rbp + 0x204], 1
jne 0x14001326a
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113ca
mov qword [rbp + 0x228], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x228]
call fcn.140011028
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x228]
call fcn.1400110f5
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x228]
call fcn.1400110a5
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001330e
cmp dword [rbp + 0x204], 2
jne 0x1400132fa
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113de
mov qword [rbp + 0x248], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x248]
call fcn.140011361
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x248]
call fcn.1400113b1
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x248]
call fcn.140011078
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001330e
lea rcx, str.error_
call fcn.1400111ea
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x14001358c
cmp dword [rbp + 0x580], 3
jne 0x140013580
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.14001118b
mov dword [rbp + 0x264], eax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.14001118b
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x264], 0
je 0x1400133ce
mov eax, dword [rbp + 0x264]
cmp dword [rbp + 0x10c], eax
jl 0x14001338f
mov eax, dword [rbp + 0x110]
cmp dword [rbp + 0x264], eax
jl 0x14001338f
mov eax, dword [rbp + 0x264]
mov dword [rbp + 0xf8], eax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.140011145
test eax, eax
je 0x1400133cc
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0x588]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x94]
call fcn.140011159
jmp 0x14001343c
cmp dword [rbp + 0x284], 0
je 0x14001343c
mov eax, dword [rbp + 0x284]
cmp dword [rbp + 0x10c], eax
jl 0x1400133ff
mov eax, dword [rbp + 0x110]
cmp dword [rbp + 0x284], eax
jl 0x1400133ff
mov eax, dword [rbp + 0x284]
mov dword [rbp + 0xf8], eax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rcx, qword [rcx + rax]
call fcn.140011145
test eax, eax
je 0x14001343c
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x588]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x94]
call fcn.140011159
call fcn.1400113ed
mov dword [rbp + 0x2a4], eax
cmp dword [rbp + 0x2a4], 1
jne 0x1400134da
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113ca
mov qword [rbp + 0x2c8], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2c8]
call fcn.140011028
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2c8]
call fcn.1400110f5
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2c8]
call fcn.1400110a5
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001357e
cmp dword [rbp + 0x2a4], 2
jne 0x14001356a
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x100]
mov edx, dword [rbp + 0xfc]
mov ecx, dword [rbp + 0xf8]
call fcn.1400113de
mov qword [rbp + 0x2e8], rax
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2e8]
call fcn.140011361
lea r8, [rbp + 0x94]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2e8]
call fcn.1400113b1
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rbp + 0x2e8]
call fcn.140011078
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001357e
lea rcx, str.error_
call fcn.1400111ea
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x14001358c
lea rcx, [0x14001c0a8]
call fcn.1400111ea
lea rcx, [rbp - 0x30]
lea rdx, [0x14001c040]
call fcn.14001137a
mov rcx, qword [rbp + 0x558]
xor rcx, rbp
call fcn.140011203
lea rsp, [rbp + 0x568]
pop rdi
pop rbp
ret