Function at 0x14002f4d0
Capabilities:
Create process on windows
Encode data using base64
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x688
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5f0], xmm6
mov qword [rbp + 0x5e8], 0xfffffffffffffffe
mov byte [rbp + 0x458], r9b
mov qword [rbp + 0x448], r8
mov qword [rbp + 0x4f8], rcx
movzx eax, byte [rdx + 0x68]
mov qword [rbp + 0x4d8], rdx
mov r15, qword [rdx + 0x60]
test al, al
jne 0x14002f53e
test r15, r15
jne 0x14002f53e
mov qword [rbp + 0x410], 0
xor r12d, r12d
jmp 0x140030230
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4f0], 0
test al, al
jne 0x14002f780
mov qword [rbp + 0x5b8], r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140032bf8
lea rsi, [rbp + 0x460]
lea rdi, [rbp - 0x10]
lea r14, [rbp + 0x578]
mov qword [rbp + 0x570], rax
mov rbx, rax
nop
cmp word [rbx], 0
je 0x14002f76c
mov r12, rbx
mov rcx, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
mov r15, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [r12 + r15*2], 0
jne 0x14002f5b0
lea rbx, [r12 + rdx*2]
cmp r15, 1
je 0x14002f590
test r15, r15
je 0x140032b3d
xor r13d, r13d
nop dword [rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x14002f600
inc r13
add rax, 0xfffffffffffffffe
jne 0x14002f5e0
jmp 0x14002f590
lea r8, [r13 + 1]
cmp r13, r15
jae 0x140032b55
mov rcx, rsi
mov rdx, r12
call fcn.1400263e0
add r13, 2
mov r8, r15
sub r8, r13
jb 0x140032b6f
lea rdx, [r12 + r13*2]
mov rcx, rdi
call fcn.1400263e0
mov r8, qword [rbp + 0x460]
mov r9, qword [rbp + 0x468]
movdqu xmm6, xmmword [rbp + 0x470]
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
lea rax, [rbp]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rbp + 0x4c0], xmm0
movdqa xmmword [rbp - 0x20], xmm6
cmp byte [rbp - 0x18], 2
je 0x14002f76c
mov qword [rbp + 0x5a8], r9
mov qword [rbp + 0x5d8], rdx
mov qword [rbp + 0x5c8], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x460], r8
mov qword [rbp + 0x468], rax
mov word [rbp + 0x470], 0
mov r15, r14
mov rcx, r14
mov rdx, rsi
mov qword [rbp + 0x5b0], r8
call fcn.140034120
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x5a8]
mov qword [rbp + 0x10], rax
movdqu xmmword [rbp + 0x18], xmm6
movups xmm0, xmmword [rbp + 0x578]
movaps xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x588]
mov qword [rbp], rax
mov rax, qword [rbp + 0x5c8]
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x468], rax
movdqa xmm0, xmmword [rbp + 0x4c0]
lea rax, [rbp + 0x470]
movdqu xmmword [rax], xmm0
mov byte [rbp + 0x5a7], 0
mov rcx, r15
lea rdx, [rbp + 0x4e0]
mov r8, rdi
mov r9, rsi
call fcn.140034370
cmp byte [rbp + 0x590], 2
je 0x14002f590
cmp qword [rbp + 0x580], 0
je 0x14002f590
mov r8, qword [rbp + 0x578]
mov rcx, qword [0x1413b0bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14002f590
mov rcx, qword [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r15, qword [rbp + 0x5b8]
mov rcx, qword [rbp + 0x4d8]
mov rax, qword [rcx + 0x50]
mov r9, qword [rcx + 0x58]
xor edi, edi
test rax, rax
setne dil
cmove r15, rax
xor esi, esi
jmp 0x14002f7a9
xor eax, eax
mov r9, qword [rbp + 0x570]
test r15, r15
je 0x140030042
test rdi, rdi
je 0x14002f800
test rsi, rsi
jne 0x14002f800
mov edi, 1
test r9, r9
je 0x14002f80a
mov rdx, r9
and rdx, 7
je 0x14002f80f
mov rcx, r9
and rcx, 0xfffffffffffffff8
mov rsi, rax
nop dword [rax]
mov rsi, qword [rsi + 0x3d8]
dec rdx
jne 0x14002f7e0
cmp r9, 8
jae 0x14002f820
jmp 0x14002f85e
test rdi, rdi
jne 0x14002f863
jmp 0x140032abe
mov rsi, rax
jmp 0x14002f85e
mov rsi, rax
mov rcx, r9
cmp r9, 8
jb 0x14002f85e
nop dword [rax + rax]
mov rax, qword [rsi + 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 rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002f820
xor r9d, r9d
xor eax, eax
movzx ecx, word [rsi + 0x3d2]
mov r12, rsi
mov r13, r9
cmp r9, rcx
jb 0x14002f8aa
nop word cs:[rax + rax]
mov rcx, qword [r12 + 0x160]
test rcx, rcx
je 0x1400326a9
inc rax
movzx r13d, word [r12 + 0x3d0]
mov r12, rcx
cmp r13w, word [rcx + 0x3d2]
jae 0x14002f880
test rax, rax
je 0x14002f940
mov rsi, qword [r12 + r13*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x14002f92e
mov rdx, rcx
and rdx, 7
je 0x14002f8e5
mov rcx, rdx
nop
mov rsi, qword [rsi + 0x3d8]
dec rcx
jne 0x14002f8d0
not rdx
add rdx, rax
mov rcx, rdx
add rax, 0xfffffffffffffffe
cmp rax, 7
jb 0x14002f92e
nop
mov rax, qword [rsi + 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 rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002f8f0
xor r9d, r9d
jmp 0x14002f947
lea r9, [r13 + 1]
mov rsi, r12
dec r15
imul rax, r13, 0x38
lea r14, [r12 + rax]
add r14, 0x168
shl r13, 5
cmp byte [r12 + r13 + 0x18], 2
jne 0x14002f9c0
mov rbx, qword [rbp + 0x4e0]
mov eax, 0
test rbx, rbx
je 0x14002f7a9
mov r12, r9
mov r13, rdi
mov r9, qword [r14]
mov rax, qword [r14 + 0x10]
mov rdi, qword [rbp + 0x4e8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x578]
mov rdx, rbx
mov r8, rdi
call fcn.140035ba0
cmp qword [rbp + 0x578], 0
je 0x14002fc18
xor eax, eax
mov rdi, r13
mov r9, r12
jmp 0x14002f7a9
mov qword [rbp + 0x5c8], rdi
mov rdi, qword [r14 + 0x18]
mov rbx, qword [r14 + 0x28]
test rbx, rbx
mov qword [rbp + 0x570], r9
je 0x14002fa22
js 0x140032b21
movzx eax, byte [0x1413b0ad0]
mov rax, qword [0x1413b0bb8]
test rax, rax
jne 0x14002fa0a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140032adb
mov qword [0x1413b0bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x14002fa27
jmp 0x140032adb
mov eax, 1
mov qword [rbp + 0x5b8], r15
mov qword [rbp + 0x5b0], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.140040800
movzx r15d, byte [r14 + 0x30]
mov rdi, qword [r14]
mov r14, qword [r14 + 0x10]
mov eax, 2
mov qword [rbp + 0x5d8], rax
test r14, r14
mov qword [rbp + 0x5a8], rbx
je 0x14002fad0
mov rax, r14
shr rax, 0x3e
jne 0x140032b06
mov rbx, r14
add rbx, r14
je 0x14002fad0
movzx eax, byte [0x1413b0ad0]
mov rax, qword [0x1413b0bb8]
test rax, rax
jne 0x14002faa5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140032b2b
mov qword [0x1413b0bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x5d8], rax
test rax, rax
jne 0x14002fad2
jmp 0x140032b2b
xor ebx, ebx
add r12, r13
mov r13, qword [rbp + 0x5d8]
mov rcx, r13
mov rdx, rdi
mov r8, rbx
call fcn.140040800
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x5a8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov byte [rbp + 0x20], r15b
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r14
mov qword [rbp], r14
mov rbx, qword [r12]
mov rdi, qword [r12 + 0x10]
test rdi, rdi
mov qword [rbp + 0x598], r14
je 0x14002fb7a
mov r15, qword [rbp + 0x5b8]
js 0x140032b10
movzx eax, byte [0x1413b0ad0]
mov rax, qword [0x1413b0bb8]
test rax, rax
jne 0x14002fb5f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140032aed
mov qword [0x1413b0bb8], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
jne 0x14002fb87
jmp 0x140032aed
mov r13d, 1
mov r15, qword [rbp + 0x5b8]
mov rcx, r13
mov rdx, rbx
mov r8, rdi
call fcn.140040800
movzx eax, byte [r12 + 0x18]
mov qword [rbp + 0x460], r13
mov qword [rbp + 0x468], rdi
mov qword [rbp + 0x470], rdi
mov byte [rbp + 0x478], al
mov byte [rbp + 0x5c7], 0
lea rcx, [rbp + 0x578]
lea rdx, [rbp + 0x4e0]
lea r8, [rbp - 0x10]
lea r9, [rbp + 0x460]
call fcn.140034370
cmp byte [rbp + 0x590], 2
mov rdi, qword [rbp + 0x5c8]
je 0x14002f7a0
cmp qword [rbp + 0x580], 0
je 0x14002f7a0
mov r8, qword [rbp + 0x578]
mov rcx, qword [0x1413b0bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14002f7a0
mov rax, qword [rbp + 0x580]
mov rdx, qword [rbp + 0x588]
mov rcx, qword [rbp + 0x590]
mov byte [rbp + 0x400], 0
test rdx, rdx
je 0x14002fda5
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x14002fd0e
mov r8, rcx
and r8, 7
je 0x14002fc7e
mov rcx, r8
nop dword [rax]
movzx r9d, word [rax + 0x3d2]
mov rax, qword [rax + r9*8 + 0x3d8]
dec rcx
jne 0x14002fc60
not r8
add r8, rdx
mov rcx, r8
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14002fd0e
nop dword [rax]
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 0x14002fc90
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rbp + 0x4c0], rax
mov qword [rbp + 0x4c8], 0
mov qword [rbp + 0x4d0], rcx
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x4c0]
lea r8, [rbp + 0x400]
call fcn.140035d40
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x4b0], rax
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x4a0], xmm0
movdqu xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp]
movups xmm2, xmmword [rbp + 0x10]
movups xmm3, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x490], xmm3
movaps xmmword [rbp + 0x480], xmm2
movaps xmmword [rbp + 0x470], xmm1
movdqa xmmword [rbp + 0x460], xmm0
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x58]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x14002fdda
mov rcx, rdx
jmp 0x14002fe09
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], 0
mov qword [rbp + 0x470], rcx
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x460]
lea r8, [rbp + 0x400]
call fcn.140035d40
jmp 0x14002fefb
mov r8, qword [rbp + 0x50]
nop
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x14002fe04
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x14002fde0
jmp 0x14002fe09
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x530], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x520], xmm2
movaps xmmword [rbp + 0x510], xmm1
movaps xmmword [rbp + 0x500], xmm0
mov r8, qword [rbp + 0x490]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x460]
movaps xmm1, xmmword [rbp + 0x470]
movaps xmm2, xmmword [rbp + 0x480]
movups xmmword [rcx + rdx + 0x188], xmm2
movups xmmword [rcx + rdx + 0x178], xmm1
movups xmmword [rcx + rdx + 0x168], xmm0
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
lea rdx, [rbp + 0x538]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x498]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x40], rax
movaps xmm0, xmmword [rbp + 0x540]
movaps xmmword [rbp + 0x30], xmm0
movdqa xmm0, xmmword [rbp + 0x500]
movaps xmm1, xmmword [rbp + 0x510]
movaps xmm2, xmmword [rbp + 0x520]
movaps xmm3, xmmword [rbp + 0x530]
movaps xmmword [rbp + 0x20], xmm3
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp], xmm1
movdqa xmmword [rbp - 0x10], xmm0
mov r14, r15
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x5b0], rax
mov rax, qword [rbp - 8]
mov qword [rbp + 0x5d8], rax
mov r8, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
movzx r15d, byte [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x5c8], rax
dec qword [rbp + 0x4f0]
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x5a8], rax
movzx eax, byte [rbp + 0x40]
mov byte [rbp + 0x5b8], al
cmp byte [rbp + 0x400], 0
je 0x14002ffab
mov qword [rbp + 0x598], rcx
mov qword [rbp + 0x568], r8
test rdi, rdi
je 0x140032b86
mov rax, qword [rbx + 0x3d8]
mov qword [rbp + 0x4e0], rax
dec rdi
mov qword [rbp + 0x4e8], rdi
mov qword [rax + 0x160], 0
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x568]
mov rcx, qword [rbp + 0x598]
mov eax, 0
cmp r15b, 2
mov r15, r14
mov rdi, r13
mov r9, r12
je 0x14002f7a9
test rcx, rcx
je 0x14002ffda
mov rcx, qword [0x1413b0bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, r12
cmp qword [rbp + 0x5d8], 0
je 0x14002fffd
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, qword [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, r12
mov eax, 0
cmp byte [rbp + 0x5b8], 2
je 0x14002f7a9
mov eax, 0
cmp qword [rbp + 0x5a8], 0
je 0x14002f7a9
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, qword [rbp + 0x5c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, r12
xor eax, eax
jmp 0x14002f7a9
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x428], rax
movdqu xmm0, xmmword [rbp + 0x4e0]
movdqu xmmword [rbp + 0x418], xmm0
mov qword [rbp + 0x410], 1
movzx eax, byte [0x1413b0ad0]
mov rcx, qword [0x1413b0bb8]
test rcx, rcx
jne 0x140030097
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140032ba3
mov rcx, rax
mov qword [0x1413b0bb8], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140032ba3
mov dword [rax], 0x48544150
mov rcx, rax
add rcx, 4
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x508], rcx
mov word [rbp + 0x510], 0
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x500]
mov qword [rbp + 0x5b8], rax
call fcn.140034120
mov r8, qword [rbp + 0x5b8]
mov qword [rbp + 8], r8
mov qword [rbp + 0x10], 4
mov qword [rbp + 0x18], 4
mov byte [rbp + 0x20], 0
movdqu xmm0, xmmword [rbp + 0x460]
movdqa xmmword [rbp - 0x10], xmm0
mov rbx, qword [rbp + 0x470]
mov qword [rbp], rbx
mov rsi, qword [rbp - 0x10]
mov r14, qword [rbp + 0x418]
test r14, r14
je 0x1400301f9
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x5d8], rax
mov r13, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [r14 + 0x168]
movzx eax, word [r14 + 0x3d2]
mov qword [rbp + 0x5a8], rax
imul rdi, rax, 0x38
mov r15, 0xffffffffffffffff
nop dword [rax]
test rdi, rdi
je 0x1400301b0
lea r12, [rcx + 0x38]
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x10]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, ebx
call r13
inc r15
add rdi, 0xffffffffffffffc8
mov rcx, r12
cmp eax, 3
je 0x140030170
cmp eax, 1
jne 0x1400301dc
jmp 0x1400301b7
mov r15, qword [rbp + 0x5a8]
mov rax, qword [rbp + 0x5d8]
sub rax, 1
jb 0x1400306b8
mov qword [rbp + 0x5d8], rax
mov r14, qword [r14 + r15*8 + 0x3d8]
jmp 0x14003014c
cmp eax, 2
jne 0x140032a38
test r14, r14
je 0x1400301fe
shl r15, 5
mov r12, qword [r14 + r15]
mov rdi, qword [r14 + r15 + 0x10]
jmp 0x140030201
xor r12d, r12d
jmp 0x140030208
xor r12d, r12d
mov r8, qword [rbp + 0x5b8]
mov rcx, qword [0x1413b0bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp - 8], 0
je 0x140030230
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x4d8]
mov r15, qword [rax + 0x40]
lea rcx, [0x14139f2c0]
mov qword [rbp + 0x5d8], rcx
test r15, r15
je 0x14003029f
mov r14, qword [rax + 0x30]
cmp r15, 4
jae 0x140030261
lea rax, [0x140036250]
jmp 0x14003028a
mov eax, dword [r14]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140036240]
lea rax, [0x140036250]
cmove rax, rcx
movzx esi, byte [r15 + r14 - 1]
mov byte [rbp + 0x5e7], 1
mov ecx, esi
call rax
test al, al
je 0x14003030e
cmp r15, 3
jbe 0x140030374
movzx eax, byte [r15 + r14 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140030374
movzx eax, byte [r14 + r15 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140030374
movzx eax, byte [r14 + r15 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140030374
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140030376
xor eax, eax
lea rbx, [r14 + r15]
xor ecx, ecx
mov qword [rbp + 0x5b8], r15
nop word cs:[rax + rax]
cmp r15, rcx
je 0x140030457
movzx edx, byte [r14 + rcx]
cmp edx, 0x2f
je 0x1400303ab
inc rcx
cmp edx, 0x5c
jne 0x140030390
test al, al
mov qword [rbp + 0x5a8], rbx
je 0x140030533
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp - 0x10]
mov rdx, r14
mov r8, r15
call fcn.140024460
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
test rcx, rcx
je 0x140030623
mov rdx, qword [rbp]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
mov qword [rbp], rdx
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x4e0]
lea rdx, [rbp - 0x10]
call fcn.140036260
jmp 0x14003109c
xor r8d, r8d
lea rax, [0x14139f258]
mov qword [rbp + 0x5d8], rax
mov rax, r14
jmp 0x14003047c
xor r8d, r8d
test cx, cx
je 0x14003029f
mov cx, 1
test r8w, r8w
jne 0x140030470
cmp rax, rbx
je 0x140030682
movzx r9d, byte [rax]
movzx edx, r9b
test dl, dl
js 0x1400304a0
inc rax
jmp 0x140030502
mov r8d, edx
and r8d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp dl, 0xdf
jbe 0x1400304f4
movzx edx, byte [rax + 2]
shl r10d, 6
and edx, 0x3f
or edx, r10d
cmp r9b, 0xf0
jb 0x14003050c
movzx r9d, byte [rax + 3]
add rax, 4
and r8d, 7
shl r8d, 0x12
shl edx, 6
and r9d, 0x3f
or r9d, edx
or r9d, r8d
mov edx, r9d
cmp edx, 0xffff
jbe 0x140030502
jmp 0x14003051f
add rax, 2
shl r8d, 6
or r8d, r10d
mov edx, r8d
xor r8d, r8d
mov ecx, edx
jmp 0x140030473
add rax, 3
shl r8d, 0xc
or edx, r8d
cmp edx, 0xffff
jbe 0x140030502
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140030473
test r15, r15
js 0x140032c85
movzx eax, byte [0x1413b0ad0]
mov rcx, qword [0x1413b0bb8]
test rcx, rcx
jne 0x140030568
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140032c6c
mov rcx, rax
mov qword [0x1413b0bb8], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140032c6c
mov rsi, rax
mov rcx, rax
mov rdx, r14
mov r8, r15
call fcn.140040800
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov byte [rbp + 8], 0
lea rdx, [0x14139f270]
lea rcx, [rbp - 0x10]
mov r8d, 4
mov qword [rbp + 0x5d8], rsi
call fcn.14002a3a0
mov rdi, qword [rbp - 0x10]
mov r15, qword [rbp - 8]
mov rsi, qword [rbp]
mov qword [rbp + 0x3f8], r15
mov qword [rbp + 0x3f0], rdi
mov byte [rbp + 0x5a6], 1
lea rcx, [rbp + 0x500]
mov rdx, rdi
mov r8, rsi
call fcn.140036340
cmp qword [rbp + 0x500], 0
je 0x14003063a
mov rax, qword [rbp + 0x510]
mov qword [rbp + 0x4f0], rax
movdqu xmm0, xmmword [rbp + 0x500]
movdqa xmmword [rbp + 0x4e0], xmm0
test r15, r15
jne 0x14003108a
jmp 0x14003109c
mov qword [rbp + 0x4e8], rax
mov qword [rbp + 0x4e0], 0
jmp 0x14003109c
mov qword [rbp + 0x5b8], r15
mov qword [rbp + 0x5d8], rdi
mov rcx, rdi
mov rdx, rsi
call fcn.14002e8f0
test rax, rax
je 0x140030714
cmp rdx, 2
jne 0x1400306c0
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x1400306c0
mov r8d, 2
xor r9d, r9d
mov r11, qword [rbp + 0x5d8]
jmp 0x140031007
cmp r15, 0xf
mov qword [rbp + 0x5a8], rbx
ja 0x140030705
xor eax, eax
mov qword [rbp + 0x5b0], rax
xor eax, eax
nop word [rax + rax]
cmp byte [r14 + rax], 0x2e
je 0x14003072a
inc rax
cmp r15, rax
jne 0x1400306a0
jmp 0x140030736
xor r12d, r12d
jmp 0x140030201
mov r8, rdx
mov r11, qword [rbp + 0x5d8]
nop word [rax + rax]
test r8, r8
je 0x140030720
mov rcx, r8
dec r8
cmp byte [rax + rcx - 1], 0x2e
jne 0x1400306d0
mov r10, rdx
sub r10, rcx
jb 0x140032cc7
test r8, r8
je 0x140031001
mov r9, rax
add r9, rcx
mov rdx, r10
jmp 0x140031007
mov cl, 0x2e
mov rdx, r14
mov r8, r15
call fcn.140019280
jmp 0x14003072f
mov r11, qword [rbp + 0x5d8]
jmp 0x140031027
mov r9, rax
xor eax, eax
jmp 0x140031007
mov eax, 1
mov qword [rbp + 0x5b0], rax
test r12, r12
je 0x14003077f
add rdi, r12
mov qword [rbp + 0x460], r12
mov qword [rbp + 0x468], rdi
mov word [rbp + 0x470], 0
mov byte [rbp + 0x478], 1
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x460]
call fcn.140029df0
movzx eax, byte [rbp + 8]
cmp al, 2
jne 0x140030a60
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x500]
call fcn.14002a080
cmp byte [rbp + 0x518], 2
jne 0x1400307b3
mov byte [rbp + 0x5e7], 1
lea rcx, [rbp + 0x500]
call fcn.140022040
jmp 0x140030883
mov rcx, qword [rbp + 0x500]
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x5c8], rax
mov rsi, qword [rbp + 0x510]
mov rdi, qword [rbp + 0x518]
mov byte [rbp + 0x5a5], 0
mov qword [rbp + 0x5d8], rcx
mov rdx, rsi
call fcn.14002cfa0
cmp rsi, rdx
cmovb rdx, rsi
test rax, rax
cmove rdx, rsi
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x5c8]
mov qword [rbp - 8], rax
mov qword [rbp], rdx
mov qword [rbp + 8], rdi
lea rcx, [rbp - 0x10]
mov rdx, r14
mov r8, r15
call fcn.14002ba80
cmp qword [rbp + 0x5b0], 1
je 0x14003083a
lea rcx, [rbp - 0x10]
call fcn.14002ea20
mov rsi, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.140036340
cmp qword [rbp - 8], 0
je 0x14003086a
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x460]
test r8, r8
je 0x140030883
movdqu xmm6, xmmword [rbp + 0x468]
jmp 0x140030e20
mov qword [rbp + 0x5c8], r14
mov qword [rbp + 0x4c0], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x4c8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r14d, r14d
xor esi, esi
xor r12d, r12d
cmp r8, 0x201
jb 0x1400308df
jmp 0x1400308f0
jae 0x1400309ae
cmp r8, 0x201
jae 0x1400308f0
mov r15d, 0x200
lea r13, [rbp - 0x10]
mov rbx, r8
jmp 0x140030948
sub r8, r12
sub rsi, r12
cmp rsi, r8
jae 0x14003091f
lea rcx, [rbp + 0x4c0]
mov rdx, r12
call fcn.14004f140
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x5d8], rax
mov r14, qword [rbp + 0x4c8]
mov eax, 0xffffffff
cmp r14, rax
mov r12d, 0xffffffff
cmovb r12, r14
mov qword [rbp + 0x4d0], r12
mov rsi, r14
mov r15, r12
mov r13, qword [rbp + 0x5d8]
mov rbx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test eax, eax
jne 0x14003096f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140030b71
mov r8d, edi
cmp rbx, r8
jne 0x1400308d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140032bbe
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x1400308f0
jmp 0x1400308df
cmp r15, r8
jb 0x140032cb0
lea rcx, [rbp + 0x500]
mov rdx, r13
call fcn.1400263e0
lea rcx, [rbp + 0x500]
mov rdx, qword [rbp + 0x5c8]
mov r8, qword [rbp + 0x5b8]
call fcn.14002ba80
cmp qword [rbp + 0x5b0], 1
je 0x1400309f6
lea rcx, [rbp + 0x500]
call fcn.14002ea20
mov rdi, qword [rbp + 0x500]
mov r8, qword [rbp + 0x510]
lea rcx, [rbp + 0x578]
mov rdx, rdi
call fcn.140036340
cmp qword [rbp + 0x508], 0
je 0x140030a2f
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x578]
movdqu xmmword [rbp + 0x468], xmm0
mov rax, qword [rbp + 0x588]
mov qword [rbp + 0x478], rax
mov qword [rbp + 0x460], 0
mov sil, 1
jmp 0x140030b93
lea r12, [rbp + 9]
lea r13, [rbp + 0x519]
lea rsi, [rbp - 0x10]
lea rdi, [rbp + 0x460]
mov rbx, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140030a9e
mov byte [rbp + 0x5e7], 1
mov rcx, rsi
mov rdx, rdi
call fcn.140029df0
movzx eax, byte [rbp + 8]
cmp al, 2
je 0x14003077f
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp]
test rdx, rdx
jne 0x140030ac1
test rcx, rcx
je 0x140030a80
mov rcx, qword [0x1413b0bb8]
xor edx, edx
call rbx
jmp 0x140030a80
mov r9d, dword [r12]
mov r10d, dword [r12 + 3]
mov dword [r13 + 3], r10d
mov dword [r13], r9d
mov qword [rbp + 0x500], r8
mov qword [rbp + 0x508], rcx
mov qword [rbp + 0x510], rdx
mov byte [rbp + 0x518], al
lea rcx, [rbp + 0x500]
mov rdx, r14
mov r8, r15
call fcn.14002ba80
cmp qword [rbp + 0x5b0], 1
je 0x140030b15
lea rcx, [rbp + 0x500]
call fcn.14002ea20
mov r15, qword [rbp + 0x500]
mov r8, qword [rbp + 0x510]
mov rcx, rsi
mov rdx, r15
call fcn.140036340
cmp qword [rbp + 0x508], 0
je 0x140030b46
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, r15
call rbx
mov r8, qword [rbp - 0x10]
test r8, r8
jne 0x140031ad5
mov byte [rbp + 0x5e7], 1
mov rcx, rsi
mov rdx, rdi
call fcn.140029df0
mov r15, qword [rbp + 0x5b8]
jmp 0x140030a92
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
shl eax, 0x20
or rax, 2
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x460], 1
xor esi, esi
test r14, r14
je 0x140030bae
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, qword [rbp + 0x5d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test sil, sil
mov r14, qword [rbp + 0x5c8]
je 0x140030bcc
mov r8, qword [rbp + 0x468]
test r8, r8
jne 0x140030e18
jmp 0x140030bdf
lea rcx, [rbp + 0x468]
mov byte [rbp + 0x5e7], 1
call fcn.140022040
mov qword [rbp + 0x4c0], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x4c8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor esi, esi
xor r14d, r14d
xor ebx, ebx
cmp r8, 0x201
jb 0x140030c36
jmp 0x140030c50
mov r15, qword [rbp + 0x5b8]
jae 0x140030d0e
cmp r8, 0x201
jae 0x140030c50
mov r12d, 0x200
lea r13, [rbp - 0x10]
mov r15, r8
jmp 0x140030ca7
sub r8, rbx
sub r14, rbx
cmp r14, r8
jae 0x140030c7f
lea rcx, [rbp + 0x4c0]
mov rdx, rbx
call fcn.14004f140
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x5d8], rax
mov rsi, qword [rbp + 0x4c8]
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x4d0], rbx
mov r14, rsi
mov r12, rbx
mov r13, qword [rbp + 0x5d8]
mov r15, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, eax
test eax, eax
jne 0x140030ccf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140030dbc
mov r8d, edi
cmp r15, r8
jne 0x140030c20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140032bdb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x140030c50
jmp 0x140030c36
cmp r12, r8
jb 0x140032cd5
lea rcx, [rbp + 0x500]
mov rdx, r13
call fcn.1400263e0
lea rcx, [rbp + 0x500]
mov r14, qword [rbp + 0x5c8]
mov rdx, r14
mov r8, r15
call fcn.14002ba80
cmp qword [rbp + 0x5b0], 1
je 0x140030d55
lea rcx, [rbp + 0x500]
call fcn.14002ea20
mov rdi, qword [rbp + 0x500]
mov r8, qword [rbp + 0x510]
lea rcx, [rbp + 0x578]
mov rdx, rdi
call fcn.140036340
cmp qword [rbp + 0x508], 0
je 0x140030d8e
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x578]
movdqu xmmword [rbp + 0x468], xmm0
mov rax, qword [rbp + 0x588]
mov qword [rbp + 0x478], rax
mov qword [rbp + 0x460], 0
mov dil, 1
jmp 0x140030dec
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x460], 1
xor edi, edi
mov r14, qword [rbp + 0x5c8]
mov r15, qword [rbp + 0x5b8]
test rsi, rsi
je 0x140030e07
mov rcx, qword [0x1413b0bb8]
xor edx, edx
mov r8, qword [rbp + 0x5d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test dil, dil
je 0x140030e48
mov r8, qword [rbp + 0x468]
test r8, r8
je 0x140030e5b
movdqu xmm6, xmmword [rbp + 0x470]
movq qword [rbp + 0x5d8], xmm6
pshufd xmm0, xmm6, 0xee
movq r9, xmm0
cmp r9, 5
mov qword [rbp + 0x5b8], r8
jae 0x1400310ce
jmp case.0x1400313ea.2
lea rcx, [rbp + 0x468]
mov byte [rbp + 0x5e7], 1
test edi, esp
add eax, 0xe8010000
in eax, 0x11
invalid
invalid
mov byte [rbp + 0x5e7], 1
lea rdx, [0x14139e37c]
add dword [rax - 0x73], ecx
lea edi, [rax + 5]
add byte [rax], al
mov r8d, 4
xor r9d, r9d
mov r8, rdx
test rax, rax
cmovne r9, rax
test r9, r9
je 0x140031027
test rax, rax
cmove r8, rdx
add r9, r8
sub r9, r11
cmp rsi, r9
cmovae rsi, r9
lea rcx, [rbp - 0x10]
mov rdx, r11
mov r8, rsi
call fcn.140024460
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
test rcx, rcx
je 0x140031065
mov rdx, qword [rbp]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
mov qword [rbp], rdx
lea rcx, [rbp + 0x4e0]
lea rdx, [rbp - 0x10]
call fcn.140036260
jmp 0x140031077
mov qword [rbp + 0x4e8], rax
movups xmm6, xmmword [rbp - 8]
jmp 0x140030e20
lea rcx, [0x14139c710]
lea r8, [0x14139d2b8]
mov edx, 0x2b
call fcn.14004e300
jmp 0x140032d25
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x578], rax
lea rax, [rbp + 0x578]
mov qword [rbp + 0x460], rax
lea rax, [0x140029210]
mov qword [rbp + 0x468], rax
lea rax, [0x14139f1e8]
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x508], 1
mov qword [rbp + 0x520], 0
lea rax, [rbp + 0x460]
mov qword [rbp + 0x510], rax
mov qword [rbp + 0x518], 1
lea rdx, [0x14139f220]
lea rcx, [rbp + 0x500]
call fcn.14004e140
jmp 0x140032d25
lea rcx, [0x14139c710]
lea r8, [0x14139c7f0]
mov edx, 0x2b
call fcn.14004e300
jmp 0x140032d25
mov ecx, 1
mov rdx, rbx
call fcn.14004e060
jmp 0x140032d25
mov byte [rbp + 0x5c7], 1
mov ecx, 1
mov rdx, rdi
call fcn.14004e060
jmp 0x140032d25
call fcn.140012060
jmp 0x140032d25
mov byte [rbp + 0x5c7], 1
call fcn.140012060
jmp 0x140032d25
call fcn.140012060
jmp 0x140032d25
mov ecx, 2
mov rdx, rbx
call fcn.14004e060
jmp 0x140032d25
lea r8, [0x14139efd8]
mov ecx, 1
xor edx, edx
call fcn.14004e180
jmp 0x140032d25
lea rax, [0x14139efa8]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14004e280
jmp 0x140032d25
lea r8, [0x14139efc0]
mov rcx, r13
mov rdx, r15
call fcn.14004e180
jmp 0x140032d25
lea rcx, [0x14139cf38]
lea r8, [0x14139cf60]
mov edx, 0x21
call fcn.14004e300
jmp 0x140032d25
mov byte [rbp + 0x5e7], 1
mov ecx, 1
mov edx, 4
call fcn.14004e060
jmp 0x140032d25
lea rcx, [0x14139d0c8]
lea r8, [0x14139f7f8]
mov edx, 0x28
call fcn.14004e300
jmp 0x140032d25
lea rcx, [0x14139d0c8]
lea r8, [0x14139f7f8]
mov edx, 0x28
call fcn.14004e300
jmp 0x140032d25
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x578], rax
lea rax, [rbp + 0x578]
mov qword [rbp + 0x460], rax
lea rax, [0x140029210]
mov qword [rbp + 0x468], rax
lea rax, [0x14139f018]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp + 0x10], 0
lea rax, [rbp + 0x460]
mov qword [rbp], rax
mov qword [rbp + 8], 1
lea rdx, [0x14139f028]
lea rcx, [rbp - 0x10]
call fcn.14004e140
jmp 0x140032d25
mov byte [rbp + 0x5e7], 1
mov ecx, 1
mov rdx, r15
call fcn.14004e060
jmp 0x140032d25
mov byte [rbp + 0x5e7], 1
call fcn.140012060
jmp 0x140032d25
lea rax, [0x14139f7e0]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14004e280
jmp 0x140032d25
lea r8, [0x14139c880]
call fcn.14004e180
jmp 0x140032d25
lea rax, [0x14139f7e0]
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.14004e280
jmp 0x140032d25