Function at 0x140021a50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x288
mov qword [rsp + 0x280], rcx
mov rax, qword [rsp + 0x280]
mov rcx, rax
mov qword [rsp + 0xa8], rax
call fcn.140021850
lea rcx, [rsp + 0x268]
call fcn.140012750
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
call fcn.1400217b0
mov dword [rsp + 0x264], 0
jmp 0x140021aa9
cmp dword [rsp + 0x264], 2
jne 0x140021b07
mov rax, qword [rsp + 0xa8]
test byte [rax + 0xa8], 1
je 0x140021b07
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx]
mov r8d, 2
mov qword [rsp + 0x98], rdx
mov edx, r8d
mov r9, qword [rsp + 0x98]
call qword [r9 + 0x40]
xor ecx, ecx
mov byte [rsp + 0x97], al
call qword [sym.imp.KERNEL32.dll_ExitThread]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx]
lea r8, [rsp + 0x240]
mov qword [rsp + 0x88], rdx
mov rdx, r8
mov r8, qword [rsp + 0x88]
call qword [r8 + 0x30]
mov rax, qword [rsp + 0xa8]
add rax, 0x48
lea rcx, [rsp + 0x240]
mov rdx, rax
call fcn.140023fc0
test al, 1
jne 0x140021b60
jmp 0x140021b9a
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0x80], rcx
mov rcx, rax
lea rdx, [rsp + 0x240]
mov r8, qword [rsp + 0x80]
call qword [r8 + 8]
mov dword [rsp + 0x23c], 5
jmp 0x140021bd7
mov rax, qword [rsp + 0xa8]
imul ecx, dword [rax + 0xc], 0x3e8
call fcn.140004570
mov rcx, qword [rsp + 0xa8]
call fcn.1400217b0
mov edx, dword [rsp + 0x264]
add edx, 1
mov dword [rsp + 0x264], edx
mov dword [rsp + 0x23c], 0
lea rcx, [rsp + 0x240]
call fcn.140001770
mov eax, dword [rsp + 0x23c]
test eax, eax
je 0x140021bfd
jmp 0x140021bf8
jmp 0x140021c02
jmp 0x140021aa4
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x28]
add rcx, 8
mov dword [rsp + 0x214], 0xa
lea rdx, [rsp + 0x214]
call fcn.140023ff0
lea rcx, [rsp + 0x218]
mov rdx, rax
call fcn.140005ff0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x28]
add rdx, 8
mov dword [rsp + 0x1ec], 8
mov rcx, rdx
lea rdx, [rsp + 0x1ec]
mov qword [rsp + 0x78], rax
call fcn.140023ff0
lea rcx, [rsp + 0x1f0]
mov rdx, rax
call fcn.140005ff0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x28]
add rdx, 8
mov dword [rsp + 0x1c4], 6
mov rcx, rdx
lea rdx, [rsp + 0x1c4]
mov qword [rsp + 0x70], rax
call fcn.140023ff0
lea rcx, [rsp + 0x1c8]
mov rdx, rax
call fcn.140005ff0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x28]
add rdx, 8
mov dword [rsp + 0x19c], 4
mov rcx, rdx
lea rdx, [rsp + 0x19c]
mov qword [rsp + 0x68], rax
call fcn.140023ff0
lea rcx, [rsp + 0x1a0]
mov rdx, rax
call fcn.140005ff0
mov byte [rsp + 0x19b], 1
mov rcx, qword [rsp + 0xa8]
add rcx, 0x10
mov qword [rsp + 0x190], rcx
mov rcx, qword [rsp + 0x190]
lea rdx, [rsp + 0x188]
mov qword [rsp + 0x60], rax
call fcn.140024060
mov rcx, qword [rsp + 0x190]
lea rdx, [rsp + 0x180]
call fcn.1400240c0
lea rax, [rsp + 0x188]
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x58], rcx
mov rcx, rax
mov rdx, qword [rsp + 0x58]
call fcn.140024120
test al, 1
jne 0x140021d83
jmp 0x140021f75
lea rcx, [rsp + 0x188]
call fcn.140024150
lea rcx, [rsp + 0x160]
mov rdx, rax
call fcn.140005ff0
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x50], rax
call fcn.140024170
xor r8d, r8d
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x1c8]
mov qword [rsp + 0x48], rax
call fcn.1400237b0
cmp rax, 0xffffffffffffffff
je 0x140021e97
lea rcx, [rsp + 0xc8]
call fcn.140001ca0
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
call fcn.140005a80
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xb0]
call fcn.140005b00
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0xb8]
mov r8d, 2
call fcn.1400242d0
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
lea rcx, [rsp + 0xd0]
lea r9, [rsp + 0xc8]
call fcn.140024340
xor r10d, r10d
mov edx, r10d
lea rcx, [rsp + 0xd0]
mov r8d, 0xa
mov qword [rsp + 0x38], rax
call fcn.140024200
mov rcx, qword [rsp + 0xa8]
mov edx, eax
call fcn.140021ff0
lea rcx, [rsp + 0xd0]
call fcn.140001770
mov byte [rsp + 0x19b], 0
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x1a0]
call fcn.140013970
test al, 1
jne 0x140021eb9
jmp 0x140021ec6
mov rcx, qword [rsp + 0xa8]
call fcn.140022040
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x1f0]
call fcn.140013970
test al, 1
jne 0x140021ee8
jmp 0x140021ef5
mov rcx, qword [rsp + 0xa8]
call fcn.140022160
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x218]
call fcn.140013970
test al, 1
jne 0x140021f17
jmp 0x140021f49
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx]
mov r8d, 2
mov qword [rsp + 0x30], rdx
mov edx, r8d
mov r9, qword [rsp + 0x30]
call qword [r9 + 0x40]
xor ecx, ecx
mov byte [rsp + 0x2f], al
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0xf0]
call fcn.140024430
lea rcx, [rsp + 0x160]
call fcn.140001770
lea rcx, [rsp + 0x188]
call fcn.140024460
jmp 0x140021d54
test byte [rsp + 0x19b], 1
je 0x140021f91
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rax + 8]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xa8]
imul ecx, dword [rax + 0xc], 0x3e8
call fcn.140004570
lea rcx, [rsp + 0x1a0]
call fcn.140001770
lea rcx, [rsp + 0x1c8]
call fcn.140001770
lea rcx, [rsp + 0x1f0]
call fcn.140001770
lea rcx, [rsp + 0x218]
call fcn.140001770
lea rcx, [rsp + 0x268]
call fcn.140013a50
jmp 0x140021a77