Function at 0x180036d90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0x50]
lea r13d, [r8 - 0xf]
mov rsi, r9
mov rbp, rdx
cmp r8d, r13d
jbe case.0x180036dfd.3
mov r15, qword [rsp + 0x50]
lea r14d, [r8 - 0x54]
mov r12, qword [rsp + 0x50]
lea rdx, [0x180000000]
xor edi, edi
nop dword [rax]
cmp r14d, 0x2f
ja case.0x180036dfd.14
movzx eax, byte [rdx + r14 + 0x370c8]
mov ecx, dword [rdx + rax*4 + 0x3708c]
add rcx, rdx
jmp rcx
or dword [rsi + 4], 1
jmp case.0x180036dfd.14
test rsi, rsi
je 0x180037084
mov rbp, qword [rsp + 0xc0]
lea r9, [rsp + 0x40]
mov rdx, qword [rsi]
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov rax, qword [rbp]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x67
call fcn.18001ebc0
mov qword [rsp + 0x50], rax
mov rcx, rax
test rax, rax
je 0x180037084
mov rax, qword [rbp]
mov qword [rsi + 8], rax
mov qword [rsi], rcx
lea rdx, [0x180000000]
mov rbp, qword [rsp + 0xa8]
dec r14d
lea eax, [r14 + 0x54]
cmp eax, r13d
ja 0x180036de0
mov rax, rbx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x50]
jmp case.0x180036dfd.14
mov rax, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rdi
xor ecx, ecx
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 0x66]
call fcn.18004a1a0
mov r15, rax
lea rdx, [0x180000000]
mov rax, qword [rsi + 0x10]
sub rax, r12
mov qword [r15 + 0x10], rax
mov qword [r15 + 8], rax
jmp case.0x180036dfd.14
mov rcx, qword [rsi]
add rcx, r12
mov qword [r15], rcx
mov rcx, qword [rsi + 0x18]
add rcx, r12
mov qword [r15 + 0x18], rcx
jmp case.0x180036dfd.14
mov rax, qword [rsi]
cmp qword [rax], rdi
jne 0x180036f30
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov rax, qword [rsi]
mov qword [rax], rcx
mov rax, qword [rsi]
mov r9, qword [rsp + 0xa0]
mov rcx, rax
mov r8d, dword [rbp]
mov rdx, qword [rsp + 0xc0]
call qword [rax + 8]
lea rdx, [0x180000000]
jmp case.0x180036dfd.14
mov rax, qword [rsi]
cmp dword [rax + 0x10], edi
jne case.0x180036dfd.14
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, r15
jmp case.0x180036dfd.14
mov r12, qword [rbp]
sub r12, qword [rsi + 0x18]
jmp case.0x180036dfd.14
mov eax, dword [rsi]
cmp eax, 1
jne 0x180036fc9
mov ebp, edi
cmp dword [rsi + 8], edi
jle 0x180036e7c
nop word [rax + rax]
mov eax, ebp
xor r9d, r9d
xor r8d, r8d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x10]
lea edx, [r9 + 0x5b]
lea rcx, [rax + rcx*8]
call fcn.180079080
inc ebp
cmp ebp, dword [rsi + 8]
jl 0x180036fa0
jmp 0x180036e75
cmp eax, 3
jne 0x18003700d
mov ebp, edi
cmp dword [rsi + 8], edi
jle 0x180036e7c
nop dword [rax]
mov eax, ebp
xor r9d, r9d
xor r8d, r8d
lea rcx, [rax + rax*4]
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 1]
lea edx, [r9 + 0x5b]
lea rcx, [rax + rcx*8]
call fcn.180079080
inc ebp
cmp ebp, dword [rsi + 8]
jl 0x180036fe0
jmp 0x180036e75
cmp eax, 4
jne case.0x180036dfd.14
mov r9, qword [rsi + 8]
lea r8d, [rax + 0x52]
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call fcn.180036d90
mov r9, qword [rsi + 0x10]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
lea r8d, [rdx + 0x56]
call fcn.180036d90
lea rdx, [0x180000000]
jmp case.0x180036dfd.14
test rsi, rsi
je case.0x180036dfd.3
test byte [rsi + 4], 1
jne case.0x180036dfd.3
jmp case.0x180036dfd.14
mov qword [r15 + 0x28], rdi
mov qword [r15 + 0x20], rsi
jmp case.0x180036dfd.14
mov qword [rsi + 0x28], r15
mov qword [rsi + 0x10], r12
mov qword [rsi + 8], r12
jmp case.0x180036dfd.14
mov rax, rdi
jmp 0x180036e97