Function at 0x140002668
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x598]
sub rsp, 0x670
mov rax, qword [0x14001d0a0]
xor rax, rsp
mov qword [rbp + 0x560], rax
test dword [rcx], 0x1000000
lea rax, [0x1400107bb]
mov r13d, 3
mov rbx, rcx
lea r12d, [r13 - 2]
jne 0x140002749
mov r8, rax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x30]
mov edx, r13d
sub r8, rax
xor edi, edi
lea rax, [rdx + 0x7ffffffb]
test rax, rax
je 0x1400026f2
mov al, byte [rcx + r8]
test al, al
je 0x1400026f2
mov byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x1400026d4
test rdx, rdx
lea rax, [rcx - 1]
lea rdx, [0x140010db0]
mov esi, 0x104
cmovne rax, rcx
lea rcx, [rsp + 0x40]
mov byte [rax], dil
lea rax, [rsp + 0x40]
sub rdx, rax
lea rax, [rsi + 0x7ffffefa]
test rax, rax
je 0x140002736
mov al, byte [rcx + rdx]
test al, al
je 0x140002736
mov byte [rcx], al
add rcx, r12
sub rsi, r12
jne 0x140002719
test rsi, rsi
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], dil
jmp 0x1400027d2
mov rcx, qword [rcx + 0xd0]
lea rax, [rbp + 0x150]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.msvcrt.dll__splitpath]
nop dword [rax + rax]
mov esi, 0x104
lea r8, [rbp + 0x50]
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400010c4
lea r8, [rbp + 0x150]
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400010c4
mov rsi, qword [rbx + 0xd0]
xor edi, edi
test rsi, rsi
je 0x1400027d2
cmp qword [rsi], rdi
je 0x1400027c3
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
lea rax, [rbp + 0x150]
mov byte [rbp + 0x50], dil
lea r9, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov byte [rbp + 0x150], dil
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x250]
call qword [sym.imp.msvcrt.dll__makepath]
nop dword [rax + rax]
mov r14d, 8
mov ecx, r14d
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea rdx, [rbp + 0x250]
mov rcx, rax
mov qword [rax], rdi
call fcn.140005d14
lea rax, [rbp + 0x150]
mov qword [rbx + 0xd0], rsi
lea r9, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x250]
call qword [sym.imp.msvcrt.dll__splitpath]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xc8]
lea r9, [rbp + 0x50]
call fcn.140006260
test dword [rbx], 0x800
lea r15, [0x140010db8]
jne 0x1400028ec
mov ecx, r14d
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x140010db4]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0xd8], rsi
jmp 0x140002902
mov rcx, qword [rbx + 0xd8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test dword [rbx], 0x2000000
jne 0x14000295f
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x140010dbc]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0xe0], rsi
jmp 0x140002975
mov rcx, qword [rbx + 0xe0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test byte [rbx + 0xc], 0x20
lea r15, str..cpp
jne 0x1400029d7
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, str._host
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0x140], rsi
jmp 0x1400029ed
mov rcx, qword [rbx + 0x140]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test byte [rbx + 0xc], 0x80
jne 0x140002a48
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, str._ext
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0x148], rsi
jmp 0x140002a5e
mov rcx, qword [rbx + 0x148]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test byte [rbx + 0xc], r14b
jne 0x140002ac3
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r15, [0x140010db8]
mov qword [rax], rdi
lea r9, str.contractdata
lea rax, [0x1400107bb]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0x150], rsi
jmp 0x140002ae0
mov rcx, qword [rbx + 0x150]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
lea r15, [0x140010db8]
test dword [rbx + 4], 0x4000000
jne 0x140002b3e
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x140010dd8]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0xf8], rsi
jmp 0x140002b54
mov rcx, qword [rbx + 0xf8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test dword [rbx + 4], 0x10000000
jne 0x140002bb2
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x140010ddc]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0x108], rsi
jmp 0x140002bc8
mov rcx, qword [rbx + 0x108]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test dword [rbx + 8], 0x200
jne 0x140002c2d
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x1400107bb]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rax, str..tlb
mov qword [rsp + 0x20], rax
call fcn.140005dcc
mov qword [rbx + 0x118], rsi
jmp 0x140002c43
mov rcx, qword [rbx + 0x118]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test dword [rbx + 4], 0x40000000
jne 0x140002ca4
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, str.dlldata
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x1400107bb]
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140005dcc
mov qword [rbx + 0x100], rsi
jmp 0x140002cba
mov rcx, qword [rbx + 0x100]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
test byte [rbx + 4], 0x20
jne 0x140002d13
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, str..acf
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.140005dcc
mov qword [rbx + 0xf0], rsi
test dword [rbx], 0x10000
jne 0x140002d70
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, [0x140010df0]
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.140005dcc
mov qword [rbx + 0xe8], rsi
jmp 0x140002d86
mov rcx, qword [rbx + 0xe8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
mov eax, dword [rbx]
test al, al
js 0x140002dc3
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea rdx, str.cl.exe
mov rcx, rax
call fcn.140006670
mov qword [rbx + 0x190], rax
mov eax, dword [rbx]
bt eax, 0xa
jb 0x140002e07
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea rdx, str.1100
mov rcx, rax
call fcn.140006670
mov qword [rbx + 0x1a0], rax
mov eax, 0x44c
mov word [rbx + 0x2a], ax
test byte [rbx + 0xc], 2
je 0x140002e32
mov eax, dword [rbx + 4]
bt eax, 0x1c
jae 0x140002e2b
xor edx, edx
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x9d6
call fcn.140007878
mov eax, dword [rbx + 4]
bts eax, 0x1d
mov dword [rbx + 4], eax
mov eax, dword [rbx]
mov esi, 0x100
test esi, eax
je 0x140002e4a
test dword [rbx + 0xc], 0x4000
je 0x140003028
mov rcx, qword [rbx + 0x178]
mov esi, 0xb
test rcx, rcx
jne 0x140002e66
bt eax, 0x13
jae 0x140002e73
lea esi, [rcx + 0xf]
jmp 0x140002e73
mov dl, r12b
call fcn.1400065fc
movsx ecx, ax
add esi, ecx
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x140002e8b
xor edx, edx
call fcn.1400065fc
movsx ecx, ax
add esi, ecx
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x140002ea3
xor edx, edx
call fcn.1400065fc
movsx ecx, ax
add esi, ecx
movsxd r15, esi
lea r14d, [rsi + 1]
add r15, r12
mov rcx, r15
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
mov byte [rax], dil
mov rcx, qword [rbx + 0x178]
test rcx, rcx
jne 0x140002f04
test dword [rbx], 0x80000
je 0x140002f31
lea r8, [0x140010e04]
mov rdx, r15
mov rcx, rax
call fcn.1400010c4
mov rcx, qword [rbx + 0x178]
test rcx, rcx
je 0x140002f31
mov dl, r12b
call fcn.14000648c
mov r8, rax
mov rdx, r15
mov rcx, rsi
mov r14, rax
call fcn.1400010c4
test r14, r14
je 0x140002f31
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x140002f69
xor edx, edx
call fcn.14000648c
mov r8, rax
mov rdx, r15
mov rcx, rsi
mov r14, rax
call fcn.1400010c4
test r14, r14
je 0x140002f69
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x140002fa1
xor edx, edx
call fcn.14000648c
mov r8, rax
mov rdx, r15
mov rcx, rsi
mov r14, rax
call fcn.1400010c4
test r14, r14
je 0x140002fa1
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
lea r8, str.__E__nologo
mov rdx, r15
mov rcx, rsi
call fcn.1400010c4
test dword [rbx + 0xc], 0x4000
je 0x140002fdb
test dword [rbx], 0x100
je 0x140002fdb
mov rcx, qword [rbx + 0x198]
mov rdx, rsi
call fcn.140006718
mov r14d, 8
jmp 0x140003012
mov r14d, 8
mov ecx, r14d
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140006670
mov qword [rbx + 0x198], rax
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov eax, dword [rbx]
mov esi, 0x100
bt eax, 0x12
jae 0x140003048
test al, al
js 0x140003036
test esi, eax
je 0x140003048
xor edx, edx
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x3f6
call fcn.140007878
test dword [rbx + 4], esi
jne 0x140003051
mov byte [rbx + 0x14], dil
mov r15b, 0x10
test byte [rbx + 0xc], r15b
jne 0x14000305e
mov byte [rbx + 0x16], dil
mov eax, dword [rbx]
test r15b, al
je 0x14000308e
bt eax, 0x17
jb 0x140003071
cmp word [rbx + 0x64], di
jne 0x14000308e
xor edx, edx
mov word [rbx + 0x64], r12w
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x3f7
call fcn.140007878
mov word [rbx + 0x64], di
mov eax, dword [rbx]
mov esi, 0x922
bt eax, 0xd
jb 0x1400030a4
mov eax, 0x1f
mov word [rbx + 0x22], ax
jmp 0x1400030c8
cmp dword [rbx + 0x40], 0x28
jl 0x1400030c8
mov eax, 0x1f
cmp ax, word [rbx + 0x22]
je 0x1400030c8
xor edx, edx
lea r9, str._error_vs.__target
mov r8d, esi
xor ecx, ecx
call fcn.140007878
mov ecx, 0x1000
test dword [rbx], ecx
jne 0x140003123
cmp dword [rbx + 0x40], 0x28
jne 0x1400030e0
or word [rbx + 0x1a], 4
or dword [rbx], ecx
jmp 0x140003123
test byte [rbx + 4], r15b
jne 0x1400030ed
or word [rbx + 0x1a], 0x30
jmp 0x140003123
movzx eax, word [rbx + 0x1a]
test al, 0x40
je 0x14000310c
xor edx, edx
lea r9, str.ARM_vs._append64
mov r8d, esi
xor ecx, ecx
call fcn.140007878
movzx eax, word [rbx + 0x1a]
test al, al
jns 0x140003123
xor edx, edx
lea r9, str.ARM64_vs._append64
mov r8d, esi
xor ecx, ecx
call fcn.140007878
test dword [rbx], 0x1000
je 0x140003136
test byte [rbx + 4], 0x80
jne 0x140003136
mov word [rbx + 0x66], r14w
mov eax, dword [rbx + 0x40]
mov ecx, eax
cmp eax, 0x28
jne 0x14000315e
test byte [rbx + 0x1a], 4
jne 0x14000315e
xor edx, edx
lea r9, str._win64_vs.__target_NT40
mov r8d, esi
xor ecx, ecx
call fcn.140007878
mov ecx, dword [rbx + 0x40]
mov eax, ecx
test dword [rbx + 8], 0x40000000
jne 0x140003179
cmp ecx, 0x33
jl 0x140003172
mov dword [rbx + 0x5c], r13d
jmp 0x140003179
mov dword [rbx + 0x5c], r12d
mov eax, dword [rbx + 0x40]
test eax, eax
je 0x14000319b
cmp eax, 0x33
jge 0x14000319b
cmp dword [rbx + 0x5c], r12d
je 0x14000319b
xor edx, edx
lea r9, str._protocol_ndr_all__vs.__target_NT40_NT50__use__target_NT51_with__protocol_ndr64_all_
mov r8d, esi
xor ecx, ecx
call fcn.140007878
cmp dword [rbx + 0x5c], 2
jne 0x1400031c2
test byte [rbx + 0x1a], 4
je 0x1400031c2
test dword [rbx + 4], 0x400000
jne 0x1400031c2
xor edx, edx
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x989
call fcn.140007878
mov ecx, dword [rbx + 8]
mov eax, ecx
test cl, 0x40
je 0x1400031ea
cmp dword [rbx + 0x5c], r12d
je 0x1400031ea
xor edx, edx
lea r9, str._osf_vs.__protocol_ndr64_or__protocol_all
mov r8d, esi
xor ecx, ecx
call fcn.140007878
mov eax, dword [rbx + 8]
mov ecx, eax
test byte [rbx + 4], r15b
je 0x1400031f9
mov dword [rbx + 0x74], r12d
mov eax, dword [rbx + 8]
mov ecx, eax
test byte [rbx + 0x1a], 0x20
je 0x140003208
mov eax, ecx
bts eax, 0x1f
mov dword [rbx + 8], eax
test eax, eax
jns 0x140003214
bts dword [rbx + 0x38], 0x14
mov eax, dword [rbx + 8]
test al, 0x40
je 0x14000323d
test dword [rbx + 4], 0x1000000
jne 0x14000322a
test dword [rbx + 4], 0x80000
je 0x14000323d
xor edx, edx
lea r9, str._osf_vs.__ms_ext_or__c_ext
mov r8d, esi
xor ecx, ecx
call fcn.140007878
mov eax, 0x2000000
mov r15d, 0xc2
test dword [rbx + 4], eax
jne 0x14000325b
mov word [rbx + 0x50], r15w
mov dword [rbx + 0x54], r13d
or dword [rbx + 4], eax
jmp 0x14000327a
cmp dword [rbx + 0x40], 0x28
jl 0x14000327a
cmp dword [rbx + 0x54], r13d
je 0x14000327a
xor edx, edx
lea r9, str._Os_Oi_Oic_vs.__target
mov r8d, esi
xor ecx, ecx
call fcn.140007878
test byte [rbx + 0x1a], 0x40
mov esi, 0x8000
je 0x1400032bb
cmp dword [rbx + 0x54], r13d
je 0x1400032a1
xor edx, edx
lea r9, str.ARM_vs._non__Oicf
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
test dword [rbx], esi
je 0x1400032bb
xor edx, edx
lea r9, str.ARM_requires__robust
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
test byte [rbx + 0x1a], 0x80
je 0x1400032f7
cmp dword [rbx + 0x54], r13d
je 0x1400032dd
xor edx, edx
lea r9, str.ARM64_vs._non__Oicf
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
test dword [rbx], esi
je 0x1400032f7
xor edx, edx
lea r9, str.ARM64_requires__robust
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
cmp dword [rbx + 0x54], r13d
jne 0x14000330f
mov eax, dword [rbx]
test esi, eax
jne 0x14000330f
cmp dword [rbx + 0x40], 0x28
je 0x14000330f
bts eax, 0xe
mov dword [rbx], eax
test byte [rbx + 0x1a], 0x20
je 0x14000331d
mov rcx, rbx
call fcn.140003538
cmp byte [rbx + 0x50], r15b
je 0x14000333f
cmp dword [rbx + 0x5c], r12d
je 0x14000333f
xor edx, edx
lea r9, str._Os_Oi_Oic_vs.__protocol_ndr64_or__protocol_all
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
cmp dword [rbx + 0x40], 0x32
jl 0x140003369
mov eax, dword [rbx]
test esi, eax
je 0x140003363
xor edx, edx
lea r9, str._no_robust_vs.__target
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
jmp 0x140003369
bts eax, 0xe
mov dword [rbx], eax
test dword [rbx], 0x4000
je 0x1400033e3
test dword [rbx], esi
je 0x1400033a0
xor edx, edx
xor ecx, ecx
test byte [rbx + 0x1a], 0x20
je 0x14000338e
lea r9, str._no_robust_in_64bit_platforms
mov r8d, 0x9a5
jmp 0x14000339b
lea r9, str._robust_vs.__no_robust
mov r8d, 0x922
call fcn.140007878
cmp dword [rbx + 0x40], 0x28
jne 0x1400033bc
xor edx, edx
lea r9, str._robust_vs.__target_NT40
xor ecx, ecx
mov r8d, 0x922
call fcn.140007878
bts dword [rbx + 0x38], 0xc
mov al, byte [rbx + 0x50]
and al, r15b
cmp al, r15b
je 0x1400033de
xor edx, edx
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x942
call fcn.140007878
mov word [rbx + 0x50], r15w
test dword [rbx + 0xc], 0x400
je 0x140003467
test dword [rbx + 0xc], 0x800
jne 0x140003451
mov rcx, r14
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000350d
add dword [0x14001d9b8], r14d
lea r9, [rbp + 0x50]
mov qword [rax], rdi
lea r8, [rsp + 0x40]
lea rax, str._export
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rax, str..mef
mov qword [rsp + 0x20], rax
call fcn.140005dcc
mov qword [rbx + 0x130], rsi
jmp 0x140003467
mov rcx, qword [rbx + 0x130]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140005fd0
mov eax, dword [rbx]
bt eax, 0x16
jae 0x140003475
bts eax, 0x15
mov dword [rbx], eax
mov edx, dword [rbx + 4]
bt edx, 0xc
jae 0x1400034b5
mov rax, qword [rbx + 0x160]
mov rcx, qword [rax + 8]
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x1400034b5
mov rcx, rdi
mov rax, qword [rbx + 0x160]
mov rdx, qword [rax + 8]
cmp qword [rdx + rcx], rdi
jne 0x1400034aa
mov qword [rdx + rcx], r8
add rcx, r14
sub r13, r12
jne 0x140003495
mov edx, dword [rbx + 4]
mov ecx, edx
mov eax, edx
shr ecx, 0x15
and ecx, r12d
shr eax, 0x18
and eax, r12d
shr edx, 0x13
and edx, r12d
lea ecx, [rax + rcx*2]
lea ecx, [rdx + rcx*2]
shl r12w, cl
mov word [rbx + 0x28], r12w
xor eax, eax
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.1400082a0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.140007878
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3