Function at 0x140012910
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rbx, qword [0x1400260e8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r12b
jne 0x1400129c2
nop word [rax + rax]
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x18]
call fcn.1400149b0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
je 0x140012999
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r12b
jne 0x140012994
cmp rbx, qword [rax + 0x10]
jne 0x140012994
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x140012981
mov rbx, rax
jmp 0x1400129bc
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
jne 0x1400129bc
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1400129b0
cmp byte [rbx + 0x19], r12b
je 0x140012960
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, 0xd48
mov eax, dword [rcx + r14]
mov ebx, 0xd38
test al, 1
jne 0x140012a1b
or eax, 1
mov dword [rcx + r14], eax
mov word [rbx + r14 + 0xb], 0x19b
mov dword [rbx + r14], 0xc42142a8
mov dword [rbx + r14 + 4], 0x61f5351f
mov word [rbx + r14 + 8], 0x799e
mov byte [rbx + r14 + 0xa], 0x76
lea rcx, [0x14001b5d0]
call fcn.140016d14
nop
add rbx, r14
cmp byte [rbx + 0xc], 0
je 0x140012a57
xor byte [rbx], 0xfb
xor byte [rbx + 1], 1
xor byte [rbx + 2], 0x13
xor byte [rbx + 3], 0x9b
xor byte [rbx + 4], 0x67
xor byte [rbx + 5], 3
xor byte [rbx + 6], 0xc1
xor byte [rbx + 7], 0x4f
xor byte [rbx + 8], 0xfb
xor byte [rbx + 9], 1
xor byte [rbx + 0xa], 0x13
xor byte [rbx + 0xb], 0x9b
mov byte [rbx + 0xc], 0
mov dword [0x1400250b8], r12d
mov dword [0x1400250b4], r12d
mov r15d, 0x20
mov ecx, r15d
call fcn.1400167d8
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rdx, rbx
mov rcx, rax
call fcn.1400091f0
nop
mov qword [0x140026010], rax
lea ecx, [r15 - 0x10]
call fcn.1400167d8
mov rbx, rax
mov qword [rsp + 0x30], rax
lea ecx, [r15 - 0x1f]
call fcn.1400167d8
mov qword [rbp + 0x18], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140014e90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400134cd
mov r13d, 0xcdc
mov edi, 0xa64
mov esi, 0xa84
mov ebx, 0xa90
nop word [rax + rax]
movsxd rax, dword [0x1400250b8]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140005630
mov rax, qword [0x140026010]
cmp qword [rax], 0
jne 0x140012b47
cmp byte [0x140026001], 0
jne 0x14001342a
mov byte [0x1400250bc], 1
mov dword [0x1400250b8], r12d
mov dword [0x1400250b4], r12d
jmp 0x140012b00
cmp byte [0x140026001], 0
jne 0x140012d7b
cmp byte [0x1400250bc], 0
je 0x140012d7b
mov eax, dword [r13 + r14]
test al, 1
jne 0x140012b9e
or eax, 1
mov dword [r13 + r14], eax
mov word [r14 + rbx + 9], 0x187
mov dword [r14 + rbx], 0x8970ffbf
mov dword [r14 + rbx + 4], 0x646efc29
mov byte [r14 + rbx + 8], 0xb7
lea rcx, [0x14001b5b0]
call fcn.140016d14
nop
lea rdx, [r14 + rbx]
cmp byte [rdx + 0xa], 0
je 0x140012bd3
xor byte [rdx], 0x8f
xor byte [rdx + 1], 0x87
xor byte [rdx + 2], 0x43
xor byte [rdx + 3], 0xcb
xor byte [rdx + 4], 0x1f
xor byte [rdx + 5], 0xbf
xor byte [rdx + 6], 0x5f
xor byte [rdx + 7], 0x21
xor byte [rdx + 8], 0x8f
xor byte [rdx + 9], 0x87
mov byte [rdx + 0xa], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140012bf0
lea rcx, [rbp + 0x18]
call fcn.140004a90
nop
lea rcx, [rbp + 0x18]
call fcn.140005930
movsxd rdx, eax
mov rcx, qword [0x140026010]
add rdx, qword [rcx + 0x18]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1400250c0]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ebx, eax
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140012c73
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013433
call fcn.1400167d0
test ebx, ebx
je 0x140012af1
mov eax, dword [0x1400250c0]
test eax, eax
jne 0x140012c92
call fcn.14000c1e0
mov eax, dword [0x1400250c0]
jmp 0x140012cad
mov byte [0x1400250bc], 0
mov dword [0x1400250b4], 0x1f4
mov dword [0x1400250b8], 0xc8
cmp eax, 0x7d0
jb 0x140012ccc
lea rcx, [rbp - 0x28]
call fcn.140009fe0
or r15d, 1
cmp qword [rax + 0x10], 0
je 0x140012ccc
xor bl, bl
jmp 0x140012cce
mov bl, 1
test r15b, 1
je 0x140012d23
and r15d, 0xfffffffe
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140012d13
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001343a
call fcn.1400167d0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test bl, bl
je 0x140012d7b
mov rcx, qword [0x140026010]
mov rdx, qword [rcx + 0x18]
add rdx, 0xb1a30
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [0x140026000]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
cmp byte [0x140026000], 0xff
je 0x140012d7b
xor edx, edx
mov rcx, qword [0x140026010]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [0x140026001], 0
jmp 0x140012af1
mov rdx, qword [0x140026048]
add rdx, 0x1000
xor r8d, r8d
mov rcx, qword [0x140026060]
call qword [0x140026088]
cmp dword [0x140026080], eax
je 0x140012db2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rbp - 0x48]
call fcn.140009fe0
mov rbx, qword [rax + 0x10]
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140012dfa
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013441
call fcn.1400167d0
test rbx, rbx
je 0x140012af1
mov ecx, edi
mov eax, dword [rcx + r14]
mov ebx, esi
test al, 1
jne 0x140012e38
or eax, 1
mov dword [rcx + r14], eax
mov word [rbx + r14 + 3], 0x163
mov word [rbx + r14], 0x2074
mov byte [rbx + r14 + 2], 0x4e
lea rcx, [0x14001b570]
call fcn.140016d14
nop
lea rdx, [rbx + r14]
cmp byte [rdx + 4], 0
je 0x140012e55
xor byte [rdx], 0xd
xor byte [rdx + 1], 0x55
xor byte [rdx + 2], 0x2b
xor byte [rdx + 3], 0x63
mov byte [rdx + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140012e70
lea rcx, [rsp + 0x58]
call fcn.140004a90
nop
lea rcx, [rbp - 0x68]
call fcn.140009fe0
mov rdi, rax
mov eax, 0x46c
mov edx, eax
mov ecx, dword [rax + r14]
mov eax, 0x478
mov ebx, eax
test cl, 1
jne 0x140012ec4
or ecx, 1
mov dword [rdx + r14], ecx
mov dword [r14 + rax], 0x12b207f
lea rcx, [0x14001b590]
call fcn.140016d14
nop
lea rdx, [r14 + rbx]
cmp byte [rdx + 3], 0
je 0x140012edd
xor byte [rdx], 0xd
xor byte [rdx + 1], 0x55
xor byte [rdx + 2], 0x2b
mov byte [rdx + 3], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140012ef6
lea rcx, [rsp + 0x38]
call fcn.140004a90
nop
mov r9, rdi
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1400147c0
nop
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.1400147c0
lea r8, [rbp - 8]
lea rdx, [rsp + 0x78]
call fcn.1400041e0
mov rdi, rax
mov rbx, qword [0x1400260d8]
mov r8, rax
lea rdx, [rbp + 0x18]
lea rcx, [0x1400260d8]
call fcn.140014b40
mov rsi, qword [rbp + 0x28]
cmp byte [rsi + 0x19], 0
jne 0x140012f74
lea r8, [rsi + 0x20]
mov rdx, rdi
call fcn.140009b00
test al, al
je 0x140012f7b
mov rsi, qword [0x1400260d8]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140012fb7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012fb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013448
call fcn.1400167d0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140013004
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012ffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001344f
call fcn.1400167d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140013042
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001303c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013456
call fcn.1400167d0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14001307d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001345d
call fcn.1400167d0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400130ca
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013464
call fcn.1400167d0
cmp rsi, rbx
jne 0x1400130e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.14000ef20
test eax, eax
jne 0x1400130f7
mov cl, 1
call fcn.140010310
xor ecx, ecx
call fcn.140012290
mov rcx, qword [0x140026010]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1400250c0]
mov rdx, qword [0x140026020]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x14001313a
mov eax, dword [0x1400250c0]
test eax, eax
je 0x14001313a
cmp dword [0x140026018], eax
jne 0x14001346b
call fcn.14000f070
mov eax, 0x78c
mov ecx, eax
mov eax, dword [rax + r14]
mov edx, 0x9c4
mov ebx, edx
test al, 1
jne 0x14001317e
or eax, 1
mov dword [rcx + r14], eax
mov word [r14 + rdx + 3], 0x10b
mov word [r14 + rdx], 0x8ee0
mov byte [r14 + rdx + 2], 0x62
lea rcx, [0x14001b530]
call fcn.140016d14
nop
lea rdx, [r14 + rbx]
cmp byte [rdx + 4], 0
je 0x14001319b
xor byte [rdx], 0x99
xor byte [rdx + 1], 0xfb
xor byte [rdx + 2], 7
xor byte [rdx + 3], 0xb
mov byte [rdx + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400131b4
lea rcx, [rsp + 0x38]
call fcn.140004a90
nop
lea rcx, [rsp + 0x78]
call fcn.140009fe0
mov rdi, rax
mov eax, 0x58c
mov edx, eax
mov ecx, dword [rax + r14]
mov eax, 0x488
mov ebx, eax
test cl, 1
jne 0x140013209
or ecx, 1
mov dword [rdx + r14], ecx
mov dword [rax + r14], 0x1078eeb
lea rcx, [0x14001b550]
call fcn.140016d14
nop
lea rdx, [r14 + rbx]
cmp byte [rdx + 3], 0
je 0x140013222
xor byte [rdx], 0x99
xor byte [rdx + 1], 0xfb
xor byte [rdx + 2], 7
mov byte [rdx + 3], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140013240
lea rcx, [rsp + 0x58]
call fcn.140004a90
nop
mov r9, rdi
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.1400147c0
nop
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.1400147c0
or r15d, 0x1e
lea r8, [rbp - 8]
lea rdx, [rbp - 0x68]
call fcn.1400041e0
mov rdi, rax
mov rbx, qword [0x1400260e8]
mov r8, rax
lea rdx, [rbp + 0x18]
lea rcx, [0x1400260e8]
call fcn.140014b40
mov rsi, qword [rbp + 0x28]
cmp byte [rsi + 0x19], 0
jne 0x1400132c1
lea r8, [rsi + 0x20]
mov rdx, rdi
call fcn.140009b00
test al, al
je 0x1400132c8
mov rsi, qword [0x1400260e8]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140013303
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134aa
call fcn.1400167d0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14001334f
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013349
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134b1
call fcn.1400167d0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14001338d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134b8
call fcn.1400167d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400133c9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400133c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134bf
call fcn.1400167d0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140013417
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400134c6
call fcn.1400167d0
cmp rsi, rbx
je 0x140012ae7
call fcn.140010c20
jmp 0x140012ae7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov rcx, qword [0x140026010]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400167b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rdi], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3