Function at 0x180064a20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov ebx, dword [rbp + 0x50]
lea r15d, [r8 + 0x220]
mov edi, r8d
mov rsi, rdx
mov r14, rcx
cmp r8d, r15d
jae 0x180064b92
mov r13, qword [rbp + 0x58]
lea r8, [0x180000000]
mov r12, qword [rbp + 0x58]
xor edx, edx
cmp edi, 0x1be
ja 0x180064dca
je 0x180064b92
lea eax, [rdi - 0xbe]
cmp eax, 0xe0
ja case.0x180064a9b.204
movzx eax, byte [r8 + rax + 0x64e38]
mov ecx, dword [r8 + rax*4 + 0x64dfc]
add rcx, r8
jmp rcx
mov qword [rbp - 0x10], rdx
lea rax, [rbp - 8]
mov rdx, r13
mov qword [rsp + 0x20], rax
mov r9d, 2
mov qword [rbp - 8], 2
lea r8, [rbp - 0x10]
mov ecx, 0x95
call fcn.18003d680
jmp 0x180064b7d
cmp dword [r14], 0
jne 0x180064de5
mov r8d, 0x62
mov dword [rbp + 0x50], 8
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov r8d, 0x62
mov dword [r14 + 4], eax
mov rdx, rsi
mov dword [rbp + 0x50], 0x20
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov dword [r14 + 8], eax
jmp 0x180064b7d
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor ecx, ecx
xor edx, edx
mov r8d, 0xbe
call fcn.180052fc0
mov r13, rax
jmp 0x180064b7d
mov r8d, 0x62
mov dword [rbp + 0x50], 0x20
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov dword [r14 + 0xc], eax
jmp 0x180064b7d
mov eax, dword [r12 + 4]
cmp eax, dword [r12]
jl 0x180064b66
cmp eax, 0x2000
jle case.0x180064a9b.204
mov edx, 0x10a
mov rcx, r14
mov edi, 0x1de
call fcn.180081950
mov ebx, 0xffffff7b
xor edx, edx
lea r8, [0x180000000]
add edi, 0x20
cmp edi, r15d
jb 0x180064a64
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 0x62
mov dword [rbp + 0x50], 0x20
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov r8d, 0x62
mov dword [r14 + 0x10], eax
mov rdx, rsi
mov dword [rbp + 0x50], 0x20
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov r8d, 0x62
mov dword [r14 + 0x14], eax
mov rdx, rsi
mov dword [rbp + 0x50], 4
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov ecx, eax
mov eax, 1
shl eax, cl
mov dword [r12], eax
jmp 0x180064b7d
cmp dword [rsi], 0
mov ecx, edx
jle case.0x180064a9b.204
mov rax, r14
nop
mov qword [rax + 8], rdx
add ecx, 2
mov qword [rax], rdx
lea rax, [rax + 0x20]
cmp ecx, dword [rsi]
jl 0x180064c20
jmp case.0x180064a9b.204
lea rax, [rbp - 8]
mov qword [rbp - 8], 3
mov r9d, 3
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
mov rdx, r13
mov ecx, 0x95
call fcn.18003d680
lea rax, [rbp - 8]
mov qword [rbp - 8], 1
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
mov rdx, r13
mov ecx, 0x95
call fcn.18003d680
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x180064c9b
cmp qword [rax + 8], 2
je 0x180064b7d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.::tlh_tlh_FONIPA_::am_FONIPA_am_
call fcn.1800824b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [rbp - 0x10]
lea rcx, [rbp - 8]
mov r8d, 0x75
mov qword [rbp - 8], 1
mov rdx, r13
call fcn.18006aa40
mov rdx, rax
mov ecx, 0x29
call fcn.18007c6e0
jmp 0x180064b7d
mov r8d, 0x62
mov dword [rbp + 0x50], 4
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov ecx, eax
mov eax, 1
shl eax, cl
mov dword [r12 + 4], eax
mov ecx, dword [r14 + 8]
cmp ecx, 0xfa00
jge 0x180064d2f
cmp eax, 0x1000
jg 0x180064b66
cmp ecx, 1
jl 0x180064b66
jmp 0x180064b7d
lea r8, [rbp + 0x58]
mov byte [rbp + 0x58], 1
mov edx, 9
mov rcx, r13
call fcn.180029880
mov r13, rax
jmp 0x180064b7d
cmp dword [r14 + 4], 1
jl 0x180064b66
cmp dword [r12], 0x40
jl 0x180064b66
jmp case.0x180064a9b.204
mov r8d, 0x62
mov dword [rbp + 0x50], 1
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
cmp eax, 1
jne 0x180064b66
xor edx, edx
mov ebx, edx
jmp 0x180064b7f
mov r12, qword [r14 + 0x20]
test r12, r12
je 0x180064def
mov r8d, 0x62
mov dword [rbp + 0x50], 0x20
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.180035df0
mov dword [r14], eax
jmp 0x180064b7d
mov eax, edi
sub eax, 0x1de
je 0x180064b66
cmp eax, 0x20
je 0x180064b92
jmp case.0x180064a9b.204
mov eax, 0xffffff7a
jmp 0x180064b94
mov eax, 0xffffff7f
jmp 0x180064b94