Function at 0x140034dfb
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6b8
mov r14, rdx
mov qword [rsp + 0x88], rcx
movabs r15, 0x8000000000000000
cmp byte [rdx + 0xa0], 0
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x78], rdx
je 0x140034e4d
xor eax, eax
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f8], rax
jmp 0x140035055
cmp qword [r14 + 0x98], 0
je 0x140035970
xor eax, eax
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f8], rax
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400377f2
mov r12, rax
lea rdi, [rsp + 0x2d0]
lea rbx, [rsp + 0x90]
mov rsi, rax
cmp word [rsi], 0
je 0x14003503d
mov rbp, rsi
mov rcx, 0xfffffffffffffffe
xor edx, edx
mov r14, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [rbp + r14*2], 0
jne 0x140034ea8
lea rsi, [rdx*2]
add rsi, rbp
cmp r14, 1
je 0x140034e92
test r14, r14
je 0x140037555
xor r15d, r15d
cmp word [rbp + r15*2 + 2], 0x3d
je 0x140034eef
inc r15
add rax, 0xfffffffffffffffe
jne 0x140034edb
jmp 0x140034e92
cmp r15, r14
jae 0x140037555
lea r8, [r15 + 1]
mov rcx, rbx
mov rdx, rbp
call fcn.14003c2ba
add r15, 2
sub r14, r15
jb 0x140037555
lea rdx, [r15*2]
add rdx, rbp
mov rcx, rdi
mov r8, r14
call fcn.14003c2ba
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x2c0], xmm1
movaps xmmword [rsp + 0x2b0], xmm0
mov r14, qword [rsp + 0x2b0]
mov r15, qword [rsp + 0x2b8]
mov rbp, qword [rsp + 0x2c0]
mov r13, qword [rsp + 0x2c8]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x130], xmm1
movabs rax, 0x8000000000000000
cmp r14, rax
je 0x14003503d
lea rax, [r15 + rbp]
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], rax
mov word [rsp + 0xa0], 0
mov rcx, rdi
mov rdx, rbx
call fcn.14003d996
mov qword [rsp + 0x2b0], r14
mov qword [rsp + 0x2b8], r15
mov qword [rsp + 0x2c0], rbp
mov qword [rsp + 0x2c8], r13
mov rcx, rbx
lea rdx, [rsp + 0x1e8]
lea r8, [rsp + 0x2b0]
lea r9, [rsp + 0x120]
call fcn.14003a6fd
mov rax, qword [rsp + 0x90]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140034e92
test rax, rax
je 0x140034e92
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x14007db30]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140034e92
mov rcx, r12
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov r14, qword [rsp + 0x78]
movabs r15, 0x8000000000000000
mov rax, qword [r14 + 0x88]
test rax, rax
je 0x14003507e
mov r12, qword [r14 + 0x90]
mov rdi, qword [r14 + 0x98]
mov ecx, 1
mov qword [rsp + 0x80], rcx
jmp 0x14003508a
xor eax, eax
mov qword [rsp + 0x80], rax
xor edi, edi
xor r14d, r14d
test rdi, rdi
je 0x140035714
cmp qword [rsp + 0x80], 0
je 0x140037555
test r14, r14
jne 0x1400350d0
mov ecx, 1
mov qword [rsp + 0x80], rcx
mov r14, rax
test r12, r12
je 0x1400350cb
mov r14, qword [r14 + 0x3d8]
dec r12
jne 0x1400350bf
xor r12d, r12d
xor eax, eax
movzx ecx, word [r14 + 0x3d2]
mov rbp, r14
mov rbx, r12
cmp r12, rcx
jb 0x140035109
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x140037555
inc rax
movzx ebx, word [rbp + 0x3d0]
mov rbp, rcx
cmp bx, word [rcx + 0x3d2]
jae 0x1400350e3
test rax, rax
je 0x140035129
mov r14, qword [rbp + rbx*8 + 0x3e0]
dec rax
je 0x140035124
mov r14, qword [r14 + 0x3d8]
jmp 0x140035116
xor r12d, r12d
jmp 0x140035130
lea r12, [rbx + 1]
mov r14, rbp
dec rdi
mov qword [rsp + 0x70], rdi
imul rax, rbx, 0x38
lea rdi, [rax + rbp]
add rdi, 0x168
shl rbx, 5
cmp qword [rbp + rbx], r15
jne 0x1400351a0
mov r13, qword [rsp + 0x1e8]
test r13, r13
je 0x14003569c
mov rbp, qword [rsp + 0x1f0]
mov rsi, r13
mov rbx, rbp
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
mov rcx, rsi
call fcn.14003a062
test rax, rax
je 0x14003537e
test rbx, rbx
je 0x14003569c
dec rbx
mov rsi, qword [rsi + rdx*8 + 0x3d8]
jmp 0x140035171
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x90]
call fcn.14001677f
mov al, byte [rdi + 0x18]
mov byte [rsp + 0xa8], al
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x2b0], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x2c0], rax
mov al, byte [rsp + 0xa8]
mov byte [rsp + 0x2c8], al
mov eax, dword [rsp + 0xa9]
mov dword [rsp + 0x2c9], eax
movzx eax, word [rsp + 0xad]
mov word [rsp + 0x2cd], ax
mov al, byte [rsp + 0xaf]
mov byte [rsp + 0x2cf], al
mov r15, qword [rdi + 0x30]
test r15, r15
js 0x140037555
lea rsi, [r15 + r15]
movabs rax, 0x8000000000000000
add rax, 0xfffffffffffffffe
cmp rsi, rax
ja 0x140037555
mov rdx, qword [rdi + 0x28]
test rsi, rsi
je 0x140035274
mov rdi, rdx
mov al, byte [0x14007dbb8]
xor ecx, ecx
mov rdx, rsi
call fcn.14003494a
test rax, rax
je 0x140037555
mov r13, rax
mov rax, r15
mov rdx, rdi
mov rdi, r15
jmp 0x14003527c
mov r13d, 2
xor edi, edi
add rbp, rbx
mov rcx, r13
mov r8, rsi
call fcn.14005efb0
mov qword [rsp + 0x2d0], rdi
mov qword [rsp + 0x2d8], r13
mov qword [rsp + 0x2e0], r15
mov rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x10]
lea rsi, [rsp + 0x90]
mov rcx, rsi
call fcn.14001677f
mov al, byte [rbp + 0x18]
mov byte [rsp + 0xa8], al
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x120], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x130], rax
mov al, byte [rsp + 0xa8]
mov byte [rsp + 0x138], al
mov eax, dword [rsp + 0xa9]
mov dword [rsp + 0x139], eax
movzx eax, word [rsp + 0xad]
mov word [rsp + 0x13d], ax
mov al, byte [rsp + 0xaf]
mov byte [rsp + 0x13f], al
mov rcx, rsi
lea rdx, [rsp + 0x1e8]
lea r8, [rsp + 0x2b0]
lea r9, [rsp + 0x120]
call fcn.14003a6fd
mov rax, qword [rsp + 0x90]
movabs r15, 0x8000000000000000
cmp rax, r15
je 0x14003569c
test rax, rax
je 0x14003569c
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x14007db30]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14003569c
mov byte [rsp + 0x57], 0
test rbx, rbx
je 0x1400354a3
mov rax, qword [rsi + rdx*8 + 0x3d8]
cmp rbx, 1
lea rcx, [rsp + 0x2b0]
je 0x1400353bf
mov r8d, 1
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
inc r8
cmp rbx, r8
jne 0x1400353a8
movzx edx, word [rax + 0x3d2]
dec rdx
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], 0
mov qword [rsp + 0x2a0], rdx
lea rdx, [rsp + 0x290]
lea r8, [rsp + 0x57]
call fcn.14003a0e7
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x260], rax
movups xmm0, xmmword [rsp + 0x2b0]
movups xmm1, xmmword [rsp + 0x2c0]
movups xmm2, xmmword [rsp + 0x2d0]
movaps xmmword [rsp + 0x250], xmm2
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
lea rax, [rsp + 0x2e8]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x210], xmm1
mov r8, qword [rsp + 0x308]
mov rax, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x318]
movzx r9d, word [r8 + 0x3d2]
mov rdx, r8
cmp rcx, r9
jb 0x1400354e9
mov rdx, qword [r8 + 0x160]
test rdx, rdx
je 0x1400354e1
inc rax
movzx ecx, word [r8 + 0x3d0]
mov r8, rdx
cmp cx, word [rdx + 0x3d2]
jae 0x14003547e
jmp 0x1400354e9
mov qword [rsp + 0x2b0], rsi
mov qword [rsp + 0x2b8], 0
mov qword [rsp + 0x2c0], rdx
lea rcx, [rsp + 0x90]
lea rsi, [rsp + 0x2b0]
mov rdx, rsi
lea r8, [rsp + 0x57]
call fcn.14003a0e7
jmp 0x140035600
mov rcx, rax
mov rax, r8
xor edx, edx
imul r8, rcx, 0x38
mov r9, rcx
shl r9, 5
mov r10, qword [rdx + r8 + 0x198]
mov qword [rsp + 0x150], r10
movups xmm0, xmmword [rdx + r8 + 0x168]
movups xmm1, xmmword [rdx + r8 + 0x178]
movups xmm2, xmmword [rdx + r8 + 0x188]
movaps xmmword [rsp + 0x140], xmm2
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x120], xmm0
mov r10, qword [rsp + 0x260]
mov qword [rdx + r8 + 0x198], r10
movaps xmm0, xmmword [rsp + 0x230]
movaps xmm1, xmmword [rsp + 0x240]
movaps xmm2, xmmword [rsp + 0x250]
movups xmmword [rdx + r8 + 0x188], xmm2
movups xmmword [rdx + r8 + 0x178], xmm1
movups xmmword [rdx + r8 + 0x168], xmm0
movups xmm0, xmmword [rdx + r9]
movups xmm1, xmmword [rdx + r9 + 0x10]
lea r8, [rsp + 0x158]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
movaps xmm0, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x210]
movups xmmword [rdx + r9], xmm0
movups xmmword [rdx + r9 + 0x10], xmm1
test rax, rax
je 0x1400355cc
mov rdx, qword [rdx + rcx*8 + 0x3e0]
dec rax
je 0x1400355cc
mov rdx, qword [rdx + 0x3d8]
jmp 0x1400355be
mov ecx, 0xb
lea rdi, [rsp + 0x90]
lea rsi, [rsp + 0x120]
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], 0
lea rsi, [rsp + 0x2b0]
mov rbx, qword [rsp + 0x90]
mov ecx, 0xa
mov rax, rsi
mov rdi, rsi
lea rsi, [rsp + 0x98]
rep movsq qword [rdi], qword [rsi]
dec qword [rsp + 0x1f8]
cmp byte [rsp + 0x57], 0
je 0x140035684
test rbp, rbp
je 0x140037555
mov rax, qword [r13 + 0x3d8]
mov qword [rsp + 0x1e8], rax
dec rbp
mov qword [rsp + 0x1f0], rbp
mov qword [rax + 0x160], 0
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
mov ecx, 0xa
lea rdi, [rsp + 0x190]
lea rsi, [rsp + 0x2b0]
jmp 0x140035694
mov ecx, 0xa
lea rdi, [rsp + 0x190]
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
cmp rbx, r15
jne 0x1400356a8
xor eax, eax
mov rdi, qword [rsp + 0x70]
jmp 0x14003508d
mov qword [rsp + 0x2b0], rbx
mov ecx, 0xa
lea rdi, [rsp + 0x2b8]
lea rsi, [rsp + 0x190]
rep movsq qword [rdi], qword [rsi]
mov rdi, qword [rsp + 0x2e8]
mov rsi, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x2b0]
call fcn.140032b7d
shl rdi, 1
mov eax, 0
test rdi, rdi
mov rdi, qword [rsp + 0x70]
je 0x14003508d
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
jmp 0x14003508d
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x288], rax
movups xmm0, xmmword [rsp + 0x1e8]
movups xmmword [rsp + 0x278], xmm0
mov qword [rsp + 0x270], 1
lea rdx, [0x14006c3b3]
lea rsi, [rsp + 0x90]
mov r8d, 4
mov rcx, rsi
call fcn.140041db1
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
add rcx, rax
lea rdx, [rsp + 0x120]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov word [rdx + 0x10], 0
lea rdi, [rsp + 0x2d0]
mov rcx, rdi
call fcn.14003d996
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rdi - 0x20], xmm0
movaps xmmword [rdi - 0x10], xmm1
mov r14, qword [rsp + 0x278]
test r14, r14
je 0x14003583e
mov r15, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x2d8]
mov rdi, qword [rsp + 0x2e0]
lea rcx, [r14 + 0x168]
movzx r13d, word [r14 + 0x3d2]
imul rbp, r13, 0x38
mov r12, 0xffffffffffffffff
test rbp, rbp
je 0x140035812
lea rbx, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9, qword [rcx + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14003496c
add rbp, 0xffffffffffffffc8
inc r12
mov rcx, rbx
cmp al, 1
je 0x1400357df
movzx eax, al
test eax, eax
jne 0x140035815
jmp 0x140035829
mov r12, r13
sub r15, 1
jb 0x1400359a4
mov r14, qword [r14 + r12*8 + 0x3d8]
jmp 0x1400357c5
test r14, r14
je 0x14003583e
shl r12, 5
mov rdi, qword [r14 + r12 + 8]
mov r15, qword [r14 + r12 + 0x10]
jmp 0x140035840
xor edi, edi
mov rsi, qword [rsp + 0x60]
lea rcx, [rsp + 0x2b0]
call fcn.140032b7d
mov r14, qword [rsp + 0x78]
mov r13, qword [r14 + 0x10]
lea rbp, str.program_path_has_no_file_name
test r13, r13
je 0x14003652f
mov r12, rdi
mov rdi, qword [r14 + 8]
cmp r13, 3
ja 0x1400358af
mov cl, byte [r13 + rdi - 1]
call fcn.140041e22
test al, al
jne 0x14003652f
xor eax, eax
cmp r13, rax
je 0x140035a93
movzx ecx, byte [rdi + rax]
cmp ecx, 0x2f
je 0x1400359db
inc rax
cmp ecx, 0x5c
jne 0x14003588c
jmp 0x1400359db
mov eax, dword [rdi]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rax, [0x140041e1b]
lea rdx, [fcn.140041e22]
cmove rdx, rax
mov cl, byte [r13 + rdi - 1]
call rdx
test al, al
jne 0x14003652f
lea rcx, [rdi + r13]
add rcx, 0xfffffffffffffffc
lea rdx, [rdi + r13]
sub rdx, rcx
cmp rdx, 4
mov eax, 4
cmovb rax, rdx
test rax, rax
je 0x140035a93
mov cl, byte [rcx]
lea edx, [rcx - 0x41]
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x2e
jne 0x140035986
lea rdx, [rdi + r13]
add rdx, 0xfffffffffffffffd
xor ecx, ecx
lea r8, str..exeprogram_not_found
cmp rcx, 3
je 0x1400359b0
mov r9b, byte [rdx + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
or r10b, r9b
mov r9b, byte [rcx + r8 + 1]
lea r11d, [r9 - 0x41]
cmp r11b, 0x1a
setb r11b
shl r11b, 5
or r11b, r9b
inc rcx
cmp r10b, r11b
je 0x140035931
jmp 0x1400359b3
mov rsi, r8
mov qword [rsp + 0x270], 0
xor edi, edi
jmp 0x140035857
xor eax, eax
cmp r13, rax
je 0x140035a93
movzx ecx, byte [rdi + rax]
cmp ecx, 0x2f
je 0x1400359db
inc rax
cmp ecx, 0x5c
jne 0x140035988
jmp 0x1400359db
mov rsi, qword [rsp + 0x60]
xor edi, edi
jmp 0x140035845
mov rcx, rax
xor edx, edx
cmp r13, rdx
je 0x140035a93
movzx r8d, byte [rdi + rdx]
cmp r8d, 0x2f
je 0x1400359d2
inc rdx
cmp r8d, 0x5c
jne 0x1400359b5
cmp rcx, rax
jae 0x1400362d3
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov rdx, rdi
mov r8, r13
call fcn.140041db1
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
lea rsi, [rsp + 0x2b0]
movaps xmmword [rsi + 0x10], xmm1
movaps xmmword [rsi], xmm0
lea rdx, str..exeprogram_not_found
mov r8d, 4
mov rcx, rsi
call fcn.140041c31
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbx + 0x10], xmm1
movaps xmmword [rbx], xmm0
mov rsi, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
lea rdi, [rsp + 0x2b0]
mov rcx, rdi
mov rdx, rsi
call fcn.1400378dd
movabs rbx, 0x8000000000000000
cmp qword [rdi], rbx
jne 0x140035ae2
lea rdi, [rsp + 0x90]
mov edx, 1
mov rcx, rdi
xor r8d, r8d
call fcn.140034718
mov rsi, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x200]
mov rdx, rsi
call fcn.14003796b
cmp qword [rdi], 0
jne 0x140035b0d
jmp 0x140035b1f
lea rbx, [rsp + 0x2b0]
mov rcx, rbx
mov rdx, rdi
mov r8, r13
call fcn.1400377fe
cmp qword [rbx], 0
je 0x140035b42
cmp r13, 0xf
ja 0x140035b4f
lea rax, [r13 - 1]
xor ecx, ecx
cmp byte [rdi + rcx], 0x2e
sete r8b
je 0x140035b63
lea rdx, [rcx + 1]
cmp rax, rcx
mov rcx, rdx
jne 0x140035ac3
jmp 0x140035b63
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x210], rax
movups xmm0, xmmword [rsp + 0x2b0]
movaps xmmword [rsp + 0x200], xmm0
cmp qword [rsp + 0x90], 0
je 0x140035b1f
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x200]
mov rbp, qword [rsp + 0x208]
cmp r13, rbx
je 0x14003652f
jmp 0x14003684b
mov rbp, qword [rsp + 0x2b8]
jmp 0x14003652f
mov cl, 0x2e
mov rdx, rdi
mov r8, r13
call fcn.140029ae9
test rax, rax
setne r8b
mov byte [rsp + 0x80], r8b
mov qword [rsp + 0x70], rdi
test r12, r12
mov qword [rsp + 0x58], r13
je 0x140035ccf
mov rax, r12
mov r12, r14
add r15, rax
lea r14, [rsp + 0x120]
mov qword [r14], rax
mov qword [r14 + 8], r15
mov word [r14 + 0x10], 0
mov byte [r14 + 0x18], 1
lea rsi, [rsp + 0x2b8]
lea r15, [rsp + 0x2b0]
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
lea rbp, [rsp + 0x90]
lea rbx, str.exe.NULcmd.exemaximum_number_of_ProcThreadAttributes_exceeded
mov rcx, r15
mov rdx, r14
call fcn.14003355e
mov rax, qword [rsp + 0x2b0]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140035ccc
mov r8, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x140035cb3
mov rdx, qword [rsp + 0x2c8]
mov qword [rsp + 0x98], r8
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0x90], rax
mov rcx, rbp
mov rdx, qword [rsp + 0x70]
mov r8, r13
call fcn.140033eeb
cmp byte [rsp + 0x80], 0
jne 0x140035c5a
mov r8d, 3
mov rcx, rbp
mov rdx, rbx
call fcn.140034718
mov r13, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa0]
mov rcx, r15
mov rdx, r13
call fcn.1400378dd
cmp qword [rsp + 0x90], 0
je 0x140035c8e
mov rcx, qword [0x14007db30]
xor edx, edx
mov r8, r13
call rdi
mov r13, qword [rsp + 0x2b0]
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x1400362c0
mov r13, qword [rsp + 0x58]
jmp 0x140035bc8
test rax, rax
je 0x140035bc8
mov rcx, qword [0x14007db30]
xor edx, edx
call rdi
jmp 0x140035bc8
mov r14, r12
lea rbx, [rsp + 0x230]
mov rcx, rbx
call fcn.1400337b1
mov r12, qword [rbx]
movabs rsi, 0x8000000000000000
cmp r12, rsi
jne 0x140035eb0
mov rdi, qword [rsp + 0x238]
mov r15, qword [rsp + 0x240]
mov rbp, qword [rsp + 0x248]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.140033b3d
lea r13, [rsp + 0x190]
mov rcx, r13
mov rdx, rbx
call fcn.140032bc5
mov al, byte [r13]
cmp al, 0xa
je 0x140036076
add al, 0xfa
cmp al, 3
ja 0x140036076
movzx eax, al
dec rax
cmp rax, 2
ja 0x140036076
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x228], r15
mov qword [rsp + 0x118], rdi
mov r14, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
add byte [rdi], cl
mov dh, 0x84
and al, 0x30
add dword [rax], eax
add byte [rax - 0x77], cl
test byte [rax + rax], ah
add dword [rax], eax
add byte [rax - 0x7d], cl
clc
invalid
mov r8, qword [rsp + 0x58]
je 0x140035f8a
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x2cf], rax
iretd
add al, byte [rax]
add byte [rdi], cl
adc byte [rsp + 0x131], al
add dword [rax], eax
invalid
movups xmm1, xmmword [rsp + 0x141]
movaps xmmword [rsp + 0x2c0], xmm1
movaps xmmword [rsp + 0x2b0], xmm0
mov sil, byte [rsp + 0x15a]
mov r15b, byte [rsp + 0x158]
add dword [rax], eax
add byte [rax - 0x76], al
mov esp, 0x15924
add byte [rcx + rcx*4 - 0x4c], cl
and al, 0x90
add byte [rax], al
add byte [rax - 0x77], cl
lodsb al, byte [rsi]
and al, 0x98
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rax], ah
add dword [rax], eax
add byte [rax + 0xa02484], cl
add byte [rax], al
movaps xmm0, xmmword [rsp + 0x2b0]
movaps xmm1, xmmword [rsp + 0x2c0]
movups xmmword [rsp + 0xa1], xmm0
movups xmmword [rsp + 0xb1], xmm1
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rdi + rcx*8], ah
add al, byte [rax]
add byte [rax - 0x77], cl
test byte [rax + rax*8], ah
and al, 0xc0
add byte [rax], al
add byte [rax - 0x78], al
mov ah, 0x24
retf 0
add byte [rax + rcx*4 - 0x44], al
mov byte [rsp + 0xc8], bh
mov byte [rsp + 0xc9], dil
cmp r15b, 2
jne 0x1400365e6
invalid
invalid
add byte [rax], al
test rbp, rbp
je 0x1400365e4
lea rbx, [rsp + 0x2b0]
lea r13, [rsp + 0x90]
add byte [rax], al
mov r8, qword [rsp + 0x58]
jmp 0x14003675f
add byte [rax], al
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x290], xmm0
mov r14, r12
jmp 0x14003682b
lea rcx, [rsp + 0x200]
mov rdx, rdi
mov r8, r13
call fcn.14003796b
movabs rbx, 0x8000000000000000
jmp 0x140035b24
xor ebp, ebp
call sub.kernel32.dll_GetLastError
ud2