Function at 0x140033470
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using base64
Encrypt data using speck
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, 0x618
movdqa xmmword [rsp + 0x600], xmm6
mov qword [rsp + 0x70], r8
mov qword [rsp + 0xc0], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rsp + 0xa8], rdx
mov r10, qword [rdx + 0x98]
test r10, r10
setne cl
or cl, al
mov byte [rsp + 0x56], cl
cmp cl, 1
jne 0x1400336e4
mov qword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d8], 0
test al, al
jne 0x1400336fa
mov qword [rsp + 0x60], r10
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140037152
mov rsi, rax
cmp word [rax], 0
je 0x1400336ec
lea rdi, [rsp + 0x220]
lea r14, [rsp + 0x120]
lea r13, [rsp + 0x1a0]
mov rbp, rsi
jmp 0x14003353f
cmp word [r12], 0
mov rbp, r12
je 0x1400336ec
mov rcx, 0xfffffffffffffffe
xor edx, edx
nop dword [rax + rax]
mov rbx, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [rbp + rbx*2], 0
jne 0x140033550
lea rcx, [rbx + rbx]
lea r12, [rcx + rbp]
add r12, 2
cmp rbx, 1
je 0x140033530
test rbx, rbx
je 0x140037002
xor r15d, r15d
nop word cs:[rax + rax]
cmp word [rbp + r15*2 + 2], 0x3d
je 0x1400335b0
inc r15
add rax, 0xfffffffffffffffe
jne 0x140033590
jmp 0x140033530
cmp r15, rbx
jae 0x140037002
lea r8, [r15 + 1]
mov rcx, r14
mov rdx, rbp
call fcn.14002e370
add r15, 2
sub rbx, r15
jb 0x140037002
lea rdx, [r15*2]
add rdx, rbp
mov rcx, rdi
mov r8, rbx
call fcn.14002e370
movups xmm0, xmmword [rsp + 0x120]
movups xmm1, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x200], xmm0
mov rbx, qword [rsp + 0x200]
mov r15, qword [rsp + 0x208]
movdqa xmm6, xmmword [rsp + 0x210]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x1b0], xmm1
movabs rax, 0x8000000000000000
cmp rbx, rax
je 0x1400336ec
movq rax, xmm6
add rax, r15
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], rax
mov word [rsp + 0x130], 0
lea rcx, [rsp + 0x220]
mov rdx, r14
call fcn.140037160
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], r15
movdqu xmmword [rsp + 0x210], xmm6
mov rcx, r14
lea rdx, [rsp + 0x1c8]
lea r8, [rsp + 0x200]
mov r9, r13
call fcn.140037320
mov rax, qword [rsp + 0x120]
shl rax, 1
test rax, rax
je 0x140033530
mov r8, qword [rsp + 0x128]
mov rcx, qword [0x141db1a00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033530
xor r14d, r14d
jmp 0x1400341ab
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r10, qword [rsp + 0x60]
test r10, r10
setne cl
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x88]
test rax, rax
setne dl
test dl, cl
je 0x140034009
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x90]
xor r14d, r14d
jmp 0x14003375b
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0
mov r10, qword [rsp + 0x60]
dec r10
mov rdx, qword [rsp + 0x78]
je 0x140034009
test r14, r14
je 0x140033780
movzx ecx, word [r14 + 0x3d2]
cmp rdx, rcx
jae 0x140033830
mov rcx, rdx
mov rsi, r14
jmp 0x140033857
test rdx, rdx
je 0x1400337bd
mov rcx, rdx
and rcx, 7
je 0x1400337c2
mov r14, rax
xor eax, eax
nop word cs:[rax + rax]
mov r14, qword [r14 + 0x3d8]
inc rax
cmp rcx, rax
jne 0x1400337a0
mov rcx, rdx
sub rcx, rax
cmp rdx, 8
jae 0x1400337d0
jmp 0x14003380e
mov r14, rax
jmp 0x14003380e
mov rcx, rdx
mov r14, rax
cmp rdx, 8
jb 0x14003380e
nop
mov rax, qword [r14 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r14, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x1400337d0
xor eax, eax
xor edx, edx
movzx ecx, word [r14 + 0x3d2]
cmp rdx, rcx
jb 0x140033771
nop word cs:[rax + rax]
mov rsi, qword [r14 + 0x160]
test rsi, rsi
je 0x140037002
inc rax
movzx ecx, word [r14 + 0x3d0]
mov r14, rsi
cmp cx, word [rsi + 0x3d2]
jae 0x140033830
test rax, rax
mov qword [rsp + 0x60], r10
je 0x140033900
mov r14, qword [rsi + rcx*8 + 0x3e0]
mov rdx, rax
dec rdx
je 0x1400338ee
mov r8, rdx
and r8, 7
je 0x1400338a2
xor r9d, r9d
nop word cs:[rax + rax]
mov r14, qword [r14 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140033890
sub rdx, r9
add rax, 0xfffffffffffffffe
cmp rax, 7
jb 0x1400338ee
nop dword [rax]
mov rax, qword [r14 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r14, qword [rax + 0x3d8]
add rdx, 0xfffffffffffffff8
jne 0x1400338b0
xor ebp, ebp
jmp 0x140033907
lea rbp, [rcx + 1]
mov r14, rsi
imul rax, rcx, 0x38
lea r15, [rsi + rax]
add r15, 0x168
shl rcx, 5
movabs rax, 0x8000000000000000
cmp qword [rsi + rcx], rax
mov qword [rsp + 0x78], rbp
jne 0x140033a30
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x198], rax
test rax, rax
je 0x140033743
mov rbx, qword [r15 + 0x28]
mov r13, qword [r15 + 0x30]
mov rax, qword [rsp + 0x1d0]
lea ecx, [rax + 7]
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x68], rax
mov rbp, qword [rsp + 0x198]
lea rcx, [rbp + 0x168]
movzx esi, word [rbp + 0x3d2]
imul rdi, rsi, 0x38
mov r15, 0xffffffffffffffff
nop dword [rax]
test rdi, rdi
je 0x1400339f0
lea r12, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
inc r15
add rdi, 0xffffffffffffffc8
mov rcx, r12
cmp eax, 3
je 0x1400339a0
cmp eax, 1
jne 0x140033a70
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140033a01
jmp 0x140033743
mov r15, rsi
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140033743
mov rbp, qword [rbp + r15*8 + 0x3d8]
dec rax
mov qword [rsp + 0x68], rax
inc qword [rsp + 0xb0]
mov eax, dword [rsp + 0x58]
add al, 7
mov dword [rsp + 0x58], eax
jmp 0x140033984
add rsi, rcx
mov rdi, qword [r15 + 0x10]
test rdi, rdi
js 0x140037002
mov r12, qword [r15 + 8]
je 0x140033b83
movzx eax, byte [0x141db1a30]
xor ecx, ecx
mov rdx, rdi
call fcn.14003d220
mov rbx, rax
test rax, rax
jne 0x140033b88
jmp 0x140037002
cmp eax, 2
mov r9, qword [rsp + 0x68]
jne 0x140037152
mov byte [rsp + 0x57], 0
test r9, r9
je 0x140033d01
mov rax, qword [rbp + r15*8 + 0x3d8]
mov rcx, r9
dec rcx
je 0x140033d44
test cl, 7
mov rbp, qword [rsp + 0x190]
je 0x140033ae6
movzx ecx, byte [rsp + 0x58]
and ecx, 7
neg rcx
mov edx, 1
nop dword [rax]
movzx r8d, word [rax + 0x3d2]
mov rax, qword [rax + r8*8 + 0x3d8]
lea r8, [rcx + rdx]
inc r8
inc rdx
cmp r8, 1
jne 0x140033ac0
sub r9, rdx
mov rcx, r9
mov rdx, rbp
sub rdx, qword [rsp + 0xb0]
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140033d4c
nop
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140033b00
jmp 0x140033d4c
mov ebx, 1
mov rcx, rbx
mov rdx, r12
mov r8, rdi
call fcn.140053870
mov r13, qword [r15 + 0x30]
test r13, r13
js 0x140037002
lea r12, [r13*2]
movabs rax, 0x8000000000000000
add rax, 0xfffffffffffffffe
cmp r12, rax
ja 0x140037002
movzx eax, byte [r15 + 0x18]
mov byte [rsp + 0x68], al
mov rdx, qword [r15 + 0x28]
test r12, r12
je 0x140033bfb
movzx eax, byte [0x141db1a30]
xor ecx, ecx
mov r15, rdx
mov rdx, r12
call fcn.14003d220
mov rdx, r15
mov rbp, rax
mov r15, r13
test rax, rax
jne 0x140033c03
jmp 0x140037002
mov ebp, 2
xor r15d, r15d
mov rcx, rbp
mov r8, r12
call fcn.140053870
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x208], rbx
mov qword [rsp + 0x210], rdi
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x218], al
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x228], rbp
mov qword [rsp + 0x230], r13
mov rdi, qword [rsi + 0x10]
test rdi, rdi
js 0x140037002
mov rbx, qword [rsi + 8]
je 0x140033c7b
movzx eax, byte [0x141db1a30]
xor ecx, ecx
mov rdx, rdi
call fcn.14003d220
mov r12, rax
test rax, rax
jne 0x140033c81
jmp 0x140037002
mov r12d, 1
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.140053870
movzx eax, byte [rsi + 0x18]
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x130], rdi
mov byte [rsp + 0x138], al
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x1c8]
lea r8, [rsp + 0x200]
lea r9, [rsp + 0x120]
call fcn.140037320
mov rax, qword [rsp + 0xe0]
shl rax, 1
test rax, rax
je 0x140033743
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x141db1a00]
xor edx, edx
jmp 0x14003373d
mov qword [rsp + 0x120], rbp
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], r15
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x120]
lea r8, [rsp + 0x57]
call fcn.140038790
mov rbp, qword [rsp + 0x190]
jmp 0x140033f40
mov rbp, qword [rsp + 0x190]
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], 0
mov qword [rsp + 0x1f8], rcx
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x1e8]
lea r8, [rsp + 0x57]
call fcn.140038790
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x200]
movups xmm1, xmmword [rsp + 0x210]
movups xmm2, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x100], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0x238]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x268]
movzx edx, word [rax + 0x3d2]
cmp rcx, rdx
jb 0x140033e27
nop word [rax + rax]
movzx ecx, word [rax + 0x3d0]
mov rax, qword [rax + 0x160]
cmp cx, word [rax + 0x3d2]
jae 0x140033e10
imul rdx, rcx, 0x38
shl rcx, 5
mov r8, qword [rax + rdx + 0x198]
mov qword [rsp + 0x150], r8
movups xmm0, xmmword [rax + rdx + 0x168]
movups xmm1, xmmword [rax + rdx + 0x178]
movups xmm2, xmmword [rax + rdx + 0x188]
movaps xmmword [rsp + 0x140], xmm2
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x120], xmm0
mov r8, qword [rsp + 0x110]
mov qword [rax + rdx + 0x198], r8
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movups xmmword [rax + rdx + 0x188], xmm2
movups xmmword [rax + rdx + 0x178], xmm1
movups xmmword [rax + rdx + 0x168], xmm0
movups xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
lea rdx, [rsp + 0x158]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
movaps xmm0, xmmword [rsp + 0x120]
movaps xmm1, xmmword [rsp + 0x130]
movaps xmm2, xmmword [rsp + 0x140]
movaps xmm3, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x230], xmm3
movaps xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x240], xmm0
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x250], rax
mov r15, qword [rsp + 0x200]
mov r12, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x220]
mov r13, qword [rsp + 0x228]
dec qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x238]
mov rbx, qword [rsp + 0x240]
cmp byte [rsp + 0x57], 0
je 0x140033fc4
test rbp, rbp
je 0x140037002
mov r8, qword [rsp + 0x198]
mov rax, qword [r8 + 0x3d8]
mov qword [rsp + 0x1c8], rax
dec rbp
mov qword [rsp + 0x1d0], rbp
mov qword [rax + 0x160], 0
mov rcx, qword [0x141db1a00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
neg r15
jo 0x140033743
jae 0x140033fe1
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x140033ff8
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
shl rsi, 1
test rsi, rsi
je 0x140033743
jmp 0x140033731
mov rsi, qword [rsp + 0x1c8]
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1c0], rax
movzx eax, byte [0x141db1a30]
mov edx, 4
xor ecx, ecx
call fcn.14003d220
test rax, rax
je 0x140037002
mov rbx, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rax
mov word [rsp + 0x130], 0
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0x120]
call fcn.140037160
mov rdi, qword [rsp + 0x228]
test rsi, rsi
mov qword [rsp + 0x190], rsi
je 0x140034179
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x230]
xor r14d, r14d
mov r12, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
mov r13, qword [rsp + 0x198]
lea rcx, [rsi + 0x168]
mov qword [rsp + 0x60], rsi
movzx eax, word [rsi + 0x3d2]
mov qword [rsp + 0x78], rax
imul rsi, rax, 0x38
mov rbp, 0xffffffffffffffff
nop word cs:[rax + rax]
test rsi, rsi
je 0x140034130
lea r15, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, ebx
call r12
inc rbp
add rsi, 0xffffffffffffffc8
mov rcx, r15
cmp eax, 3
je 0x1400340f0
cmp eax, 1
jne 0x140034151
jmp 0x140034135
mov rbp, qword [rsp + 0x78]
sub r13, 1
jb 0x1400345db
mov rsi, qword [rsp + 0x60]
mov rsi, qword [rsi + rbp*8 + 0x3d8]
jmp 0x1400340c0
cmp eax, 2
jne 0x140037152
shl rbp, 5
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + rbp + 8]
mov rax, qword [rax + rbp + 0x10]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x58]
jmp 0x14003417c
xor r14d, r14d
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x220], 0
je 0x1400341ab
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0xa8]
mov rdi, qword [rcx + 0x10]
lea r13, [0x141da3618]
test rdi, rdi
mov rax, qword [rsp + 0x70]
je 0x14003649b
mov r15, qword [rcx + 8]
cmp rdi, 4
jae 0x1400341df
lea rax, [0x140039020]
jmp 0x140034208
mov eax, dword [r15]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140039010]
lea rax, [0x140039020]
cmove rax, rcx
movzx esi, byte [rdi + r15 - 1]
mov ecx, esi
call rax
test al, al
mov rax, qword [rsp + 0x70]
jne 0x14003649b
lea r11, [r15 + rdi]
cmp rdi, 3
jbe 0x14003428a
movzx eax, byte [r11 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x1400342c1
movzx eax, byte [r11 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x1400342c1
movzx eax, byte [r11 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x1400342c1
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x1400342c3
xor eax, eax
movabs rsi, 0x8000000000000000
nop word cs:[rax + rax]
cmp rdi, rax
je 0x14003442b
movzx ecx, byte [r15 + rax]
cmp ecx, 0x2f
je 0x140034338
inc rax
cmp ecx, 0x5c
jne 0x1400342a0
jmp 0x140034338
xor eax, eax
xor ecx, ecx
movabs rsi, 0x8000000000000000
nop
cmp rdi, rcx
je 0x14003442b
movzx edx, byte [r15 + rcx]
cmp edx, 0x5c
je 0x1400342eb
inc rcx
cmp edx, 0x2f
jne 0x1400342d0
test al, al
je 0x140034338
mov qword [rsp + 0xd0], r11
lea rcx, [rsp + 0x120]
mov rdx, r15
mov r8, rdi
call fcn.14002f400
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x128]
cmp rcx, rsi
jne 0x1400345a1
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1a0], rsi
jmp 0x140034e27
mov qword [rsp + 0xd0], r11
test rdi, rdi
js 0x140037002
movzx eax, byte [0x141db1a30]
xor ecx, ecx
mov rdx, rdi
call fcn.14003d220
test rax, rax
je 0x140037002
mov rsi, rax
mov rcx, rax
mov rdx, r15
mov r8, rdi
call fcn.140053870
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x218], 0
lea rdx, [0x141da3630]
lea rcx, [rsp + 0x200]
mov r8d, 4
call fcn.14002f950
mov rbx, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x210]
lea rcx, [rsp + 0x120]
mov rdx, rsi
mov r8, rdi
call fcn.140039030
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x120], rax
jne 0x1400344fe
mov rcx, rsi
mov rdx, rdi
call fcn.1400331a0
test rax, rax
je 0x140034d8d
cmp rdx, 2
jne 0x140034523
cmp word [rax], 0x2e2e
jne 0x140034523
mov r8d, 2
xor ecx, ecx
jmp 0x140034d54
xor r8d, r8d
lea r13, [0x141da35e0]
mov rax, r15
jmp 0x14003444c
xor r8d, r8d
test cx, cx
je 0x140036496
mov cx, 1
test r8w, r8w
jne 0x140034440
cmp rax, r11
je 0x14003455e
movzx edx, byte [rax]
test dl, dl
js 0x14003446b
inc rax
jmp 0x1400344ca
mov r8d, edx
and r8d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp dl, 0xdf
jbe 0x1400344bc
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp dl, 0xf0
jb 0x1400344d4
movzx edx, byte [rax + 3]
add rax, 4
and r8d, 7
shl r8d, 0x12
shl r9d, 6
and edx, 0x3f
or edx, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x1400344ca
jmp 0x1400344ea
add rax, 2
shl r8d, 6
or r8d, r10d
mov edx, r8d
xor r8d, r8d
mov ecx, edx
jmp 0x140034443
add rax, 3
shl r8d, 0xc
or r9d, r8d
mov edx, r9d
cmp edx, 0xffff
jbe 0x1400344ca
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140034443
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x1a0], xmm0
jmp 0x140034e06
mov r8, rdx
nop word cs:[rax + rax]
test r8, r8
je 0x1400345e0
mov r9, r8
dec r8
cmp byte [rax + r9 - 1], 0x2e
jne 0x140034530
test r8, r8
je 0x140034d4f
sub rdx, r9
mov rcx, rax
add rcx, r9
jmp 0x140034d54
cmp rdi, 0xf
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0xd0], r11
ja 0x1400345ed
mov qword [rsp + 0xb8], 0
xor eax, eax
nop word [rax + rax]
cmp byte [r15 + rax], 0x2e
je 0x1400345fc
inc rax
cmp rdi, rax
jne 0x140034590
jmp 0x140034609
mov rdx, qword [rsp + 0x130]
mov qword [rsp + 0x200], rcx
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], rdx
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + 0x200]
call fcn.140039150
jmp 0x140034e27
jmp 0x140034172
mov rcx, rax
mov r8, rdx
xor eax, eax
jmp 0x140034d54
mov cl, 0x2e
mov rdx, r15
mov r8, rdi
call fcn.14001df80
jmp 0x140034601
mov eax, 1
mov qword [rsp + 0xb8], rax
test r14, r14
je 0x140034c5f
add qword [rsp + 0x68], r14
mov bl, 1
mov qword [rsp + 0x60], 0
nop word cs:[rax + rax]
call sub.KERNEL32.dll_GetLastError
ud2