Function at 0x140031810
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], xmm7
movdqa xmmword [rbp + 0x5e0], xmm6
mov qword [rbp + 0x5d8], 0xfffffffffffffffe
mov r15, rdx
mov qword [rbp + 0x500], rcx
mov r12, qword [rdx + 0x50]
movzx eax, byte [rdx + 0x58]
test al, al
mov qword [rbp + 0x5b0], rdx
jne 0x140031894
test r12, r12
jne 0x140031894
mov qword [rbp + 0x400], 0
xor eax, eax
mov qword [rbp + 0x598], rax
xor edi, edi
mov r12, qword [r15 + 0x28]
mov r13, qword [r15 + 0x30]
test r13, r13
jne 0x140032686
jmp 0x1400326db
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x3f0], xmm0
test al, al
jne 0x140031b8a
mov qword [rbp + 0x5c8], r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140034b57
lea r14, [rbp - 0x10]
mov qword [rbp + 0x598], rax
mov rbx, rax
nop dword [rax]
cmp word [rbx], 0
je 0x140031b6f
mov r12, rbx
mov rcx, 0xfffffffffffffffe
xor esi, esi
nop word cs:[rax + rax]
mov rdi, rsi
mov rax, rcx
inc rsi
cmp word [rbx], 0
lea rbx, [rbx + 2]
lea rcx, [rcx + 2]
jne 0x1400318f0
cmp rdi, 1
je 0x1400318d0
test rdi, rdi
je 0x140034a9f
mov r13, 0xfffffffffffffffc
xor r15d, r15d
cmp word [r12 + r15*2 + 2], 0x3d
je 0x140031940
inc r15
add r13, 0xfffffffffffffffe
add rax, 0xfffffffffffffffe
jne 0x140031920
jmp 0x1400318d0
lea r8, [r15 + 1]
cmp r15, rdi
jae 0x140034ab7
lea rcx, [rbp + 0x4e0]
mov rdx, r12
call fcn.1400269a0
lea rcx, [r15 + 2]
cmp rdi, rcx
jb 0x140034ad1
sub r12, r13
sub rsi, r15
add rsi, 0xfffffffffffffffd
lea rcx, [rbp + 0x480]
mov rdx, r12
mov r8, rsi
call fcn.1400269a0
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x470], rax
movups xmm0, xmmword [rbp + 0x4e0]
movaps xmmword [rbp + 0x460], xmm0
movzx esi, byte [rbp + 0x4f8]
lea rcx, [rbp + 0x4f9]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x2d], ecx
movups xmm0, xmmword [rbp + 0x480]
movups xmm1, xmmword [rbp + 0x490]
movups xmmword [r14 - 9], xmm1
movups xmmword [r14 - 0x19], xmm0
mov eax, dword [rbp - 0x30]
movzx ecx, word [rbp - 0x2c]
movzx edx, byte [rbp - 0x2a]
mov rdi, qword [rbp - 0x29]
movzx r8d, byte [rbp - 0x21]
movups xmm0, xmmword [rbp - 0x20]
mov dword [rbp + 0x540], eax
mov word [rbp + 0x544], cx
mov byte [rbp + 0x546], dl
mov qword [rbp + 0x547], rdi
mov byte [rbp + 0x54f], r8b
movaps xmmword [rbp + 0x550], xmm0
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x55f], rax
cmp sil, 2
je 0x140031b6f
mov rax, qword [rbp + 0x470]
mov qword [rbp + 0x430], rax
movaps xmm0, xmmword [rbp + 0x460]
movaps xmmword [rbp + 0x420], xmm0
mov byte [rbp + 0x438], sil
mov eax, dword [rbp + 0x540]
mov ecx, dword [rbp + 0x543]
lea rdx, [rbp + 0x439]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
lea rdi, [rbp + 0x547]
movdqu xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x520], xmm1
movdqa xmmword [rbp + 0x510], xmm0
mov rax, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x430]
add rcx, rax
mov qword [rbp + 0x480], rcx
mov qword [rbp + 0x488], rax
mov word [rbp + 0x490], 0
lea r15, [rbp + 0x4e0]
mov rcx, r15
lea r12, [rbp + 0x480]
mov rdx, r12
call fcn.140035f60
movaps xmm0, xmmword [rbp + 0x460]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x470]
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], sil
mov eax, dword [rbp + 0x540]
mov ecx, dword [rbp + 0x543]
mov dword [r14 - 4], ecx
mov dword [r14 - 7], eax
mov rax, qword [rbp + 0x4f0]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbp + 0x4e0]
movups xmmword [r14], xmm0
movdqu xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x490], xmm1
movdqa xmmword [rbp + 0x480], xmm0
mov byte [rbp + 0x5af], 0
mov rcx, r15
lea rdx, [rbp + 0x3e8]
lea r8, [rbp - 0x30]
mov r9, r12
call fcn.1400361a0
cmp byte [rbp + 0x4f8], 2
je 0x1400318d0
cmp qword [rbp + 0x4e0], 0
je 0x1400318d0
mov r8, qword [rbp + 0x4e8]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400318d0
mov rcx, qword [rbp + 0x598]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r15, qword [rbp + 0x5b0]
mov r12, qword [rbp + 0x5c8]
mov r13, qword [r15 + 0x48]
xor eax, eax
test r13, r13
sete al
cmove r12, r13
add rax, rax
movq xmm0, qword [r15 + 0x40]
movq xmm7, rax
punpcklqdq xmm7, xmm0
movdqa xmm6, xmmword [0x140054630]
jmp 0x140031bc0
mov r12, r14
nop dword [rax]
test r12, r12
je 0x140032444
movq rax, xmm7
test rax, rax
je 0x140031bf0
cmp rax, 2
je 0x140034a22
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
jmp 0x140031c76
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
test rax, rax
je 0x140031c6e
lea rcx, [rax - 1]
mov rdx, rax
and rdx, 7
je 0x140031c1c
and rax, 0xfffffffffffffff8
mov r13, qword [r13 + 0x3d8]
dec rdx
jne 0x140031c10
cmp rcx, 7
jb 0x140031c6e
nop word cs:[rax + rax]
mov rcx, qword [r13 + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov rcx, qword [rcx + 0x3d8]
mov r13, qword [rcx + 0x3d8]
add rax, 0xfffffffffffffff8
jne 0x140031c30
movdqa xmm7, xmm6
xor ebx, ebx
xor eax, eax
movzx ecx, word [r13 + 0x3d2]
mov rdi, r13
mov r14, rbx
cmp rbx, rcx
jb 0x140031cb8
nop dword [rax]
mov rcx, qword [rdi + 0x160]
test rcx, rcx
je 0x140034977
movzx r14d, word [rdi + 0x3d0]
inc rax
mov rdi, rcx
cmp r14w, word [rcx + 0x3d2]
jae 0x140031c90
test rax, rax
je 0x140031d60
mov r13, qword [rdi + r14*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x140031d4e
lea rdx, [rax - 2]
mov rbx, rcx
and rbx, 7
je 0x140031d05
mov rcx, rbx
nop word cs:[rax + rax]
mov r13, qword [r13 + 0x3d8]
dec rcx
jne 0x140031cf0
not rbx
add rax, rbx
mov rcx, rax
cmp rdx, 7
jb 0x140031d4e
nop dword [rax + rax]
mov rax, qword [r13 + 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 r13, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140031d10
xor ebx, ebx
jmp 0x140031d67
lea rbx, [r14 + 1]
mov r13, rdi
dec r12
imul rax, r14, 0x38
lea rsi, [rdi + rax]
add rsi, 0x168
shl r14, 5
movq xmm7, xmm7
cmp byte [rdi + r14 + 0x18], 2
jne 0x140031fa0
mov r15, qword [rbp + 0x3f0]
test r15, r15
je 0x140031bc0
mov r14, r12
mov r9, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
mov r12, qword [rbp + 0x3e8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x4e0]
mov rdx, r12
mov r8, r15
call fcn.140037980
cmp qword [rbp + 0x4e0], 0
jne 0x140031bb6
mov rdx, qword [rbp + 0x4e8]
mov rax, qword [rbp + 0x4f0]
mov rcx, qword [rbp + 0x4f8]
mov byte [rbp + 0x510], 0
test rdx, rdx
je 0x1400321e2
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x140031ece
mov r8, rbx
lea rbx, [rdx - 2]
mov rdi, rcx
and rdi, 7
je 0x140031e3d
mov rcx, rdi
movzx esi, word [rax + 0x3d2]
mov rax, qword [rax + rsi*8 + 0x3d8]
dec rcx
jne 0x140031e20
not rdi
add rdx, rdi
mov rcx, rdx
cmp rbx, 7
mov rbx, r8
jb 0x140031ece
nop word [rax + 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 0x140031e50
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rbp + 0x540], 0
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x550], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x540]
lea r8, [rbp + 0x510]
call fcn.140037b20
mov rdi, rbx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4d0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4c0], xmm0
movdqu xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x4b0], xmm3
movaps xmmword [rbp + 0x4a0], xmm2
movaps xmmword [rbp + 0x490], xmm1
movdqa xmmword [rbp + 0x480], xmm0
mov rdx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
movzx ebx, word [rdx + 0x3d2]
mov rcx, rdx
cmp rax, rbx
jb 0x140032219
nop word [rax + rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140032217
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140031f70
jmp 0x140032219
mov qword [rbp + 0x5c8], r12
mov r15, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
test r12, r12
mov qword [rbp + 0x598], rbx
je 0x140031ffe
js 0x140034a95
mov rax, qword [0x14123bbd0]
test rax, rax
jne 0x140031fe3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140034a58
mov qword [0x14123bbd0], rax
mov rcx, rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140032003
jmp 0x140034a58
mov ebx, 1
mov rcx, rbx
mov rdx, r15
mov r8, r12
call fcn.1400440c0
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x540], r12
mov qword [rbp + 0x548], rbx
mov qword [rbp + 0x550], r12
mov byte [rbp + 0x558], al
mov rdx, qword [rsi + 0x28]
mov r15, qword [rsi + 0x30]
test r15, r15
je 0x1400320a8
xor ebx, ebx
mov rax, r15
shr rax, 0x3e
sete al
jne 0x140034a7a
lea r12, [r15 + r15]
mov bl, al
add rbx, rbx
test r12, r12
je 0x1400320b2
mov rax, qword [0x14123bbd0]
test rax, rax
mov qword [rbp + 0x5a0], rdx
jne 0x140032086
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140034a6a
mov qword [0x14123bbd0], rax
mov rcx, rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov rdx, qword [rbp + 0x5a0]
test rsi, rsi
jne 0x1400320be
jmp 0x140034a6a
mov esi, 2
xor r12d, r12d
jmp 0x1400320be
mov rsi, rbx
test rsi, rsi
je 0x140034a6a
add rdi, r14
mov rcx, rsi
mov r8, r12
call fcn.1400440c0
movdqu xmm0, xmmword [rbp + 0x540]
movups xmm1, xmmword [rbp + 0x550]
movdqa xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rsi
mov qword [rbp], r15
mov r15, qword [rdi + 8]
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x140032147
js 0x140034a84
mov rax, qword [0x14123bbd0]
test rax, rax
mov r12, qword [rbp + 0x5c8]
jne 0x14003212c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140034a3f
mov qword [0x14123bbd0], rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140032153
jmp 0x140034a3f
mov ebx, 1
mov r12, qword [rbp + 0x5c8]
mov rcx, rbx
mov rdx, r15
mov r8, rsi
call fcn.1400440c0
movzx eax, byte [rdi + 0x18]
mov qword [rbp + 0x540], rsi
mov qword [rbp + 0x548], rbx
mov qword [rbp + 0x550], rsi
mov byte [rbp + 0x558], al
mov byte [rbp + 0x5c6], 0
lea rcx, [rbp + 0x480]
lea rdx, [rbp + 0x3e8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x540]
call fcn.1400361a0
cmp byte [rbp + 0x498], 2
mov rbx, qword [rbp + 0x598]
je 0x140031bc0
cmp qword [rbp + 0x480], 0
je 0x140031bc0
mov r8, qword [rbp + 0x488]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140031bc0
mov qword [rbp + 0x540], 0
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x550], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x540]
lea r8, [rbp + 0x510]
call fcn.140037b20
jmp 0x14003230e
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov rbx, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x570], rbx
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x560], xmm2
movaps xmmword [rbp + 0x550], xmm1
movaps xmmword [rbp + 0x540], xmm0
mov rbx, qword [rbp + 0x4b0]
mov qword [rcx + rdx + 0x198], rbx
movaps xmm0, xmmword [rbp + 0x480]
movaps xmm1, xmmword [rbp + 0x490]
movaps xmm2, xmmword [rbp + 0x4a0]
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 + 0x578]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x4b8]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x20], rax
movaps xmm0, xmmword [rbp + 0x580]
movaps xmmword [rbp + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x540]
movaps xmm1, xmmword [rbp + 0x550]
movaps xmm2, xmmword [rbp + 0x560]
movaps xmm3, xmmword [rbp + 0x570]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov rbx, rdi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x590], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x580], xmm0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x570], xmm3
movaps xmmword [rbp + 0x560], xmm2
dec qword [rbp + 0x3f8]
movaps xmmword [rbp + 0x550], xmm1
movdqa xmmword [rbp + 0x540], xmm0
cmp byte [rbp + 0x510], 0
je 0x1400323a0
test r12, r12
je 0x140034ae5
mov rax, qword [r15 + 0x3d8]
mov qword [rbp + 0x3f0], rax
dec r12
mov qword [rbp + 0x3e8], r12
mov qword [rax + 0x160], 0
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [rbp + 0x558], 2
mov r12, r14
je 0x140031bc0
mov r14, rbx
mov rsi, qword [rbp + 0x560]
mov rdi, qword [rbp + 0x568]
mov r15, qword [rbp + 0x578]
mov rax, qword [rbp + 0x580]
mov qword [rbp + 0x5c8], rax
movzx ebx, byte [rbp + 0x590]
cmp qword [rbp + 0x540], 0
je 0x1400323fd
mov r8, qword [rbp + 0x548]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140032414
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp bl, 2
mov rbx, r14
je 0x140031bc0
test r15, r15
je 0x140031bc0
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x5c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140031bc0
movdqu xmm0, xmmword [rbp + 0x3e8]
movdqu xmmword [rbp + 0x408], xmm0
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x400], 1
mov rcx, qword [0x14123bbd0]
test rcx, rcx
je 0x140032482
mov r15, qword [rbp + 0x5b0]
jmp 0x1400324a2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov r15, qword [rbp + 0x5b0]
je 0x140034b02
mov rcx, rax
mov qword [0x14123bbd0], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140034b02
mov dword [rax], 0x48544150
mov qword [rbp + 0x540], 4
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x550], 4
mov byte [rbp + 0x558], 0
mov rcx, rax
add rcx, 4
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x480]
lea rdx, [rbp - 0x30]
call fcn.140035f60
movups xmm0, xmmword [rbp + 0x540]
movups xmm1, xmmword [rbp + 0x550]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movdqu xmm0, xmmword [rbp + 0x480]
movdqa xmmword [rbp - 0x10], xmm0
mov rbx, qword [rbp + 0x490]
mov qword [rbp], rbx
mov rsi, qword [rbp - 8]
mov rax, qword [rbp + 0x410]
test rax, rax
je 0x140032638
mov rcx, qword [rbp + 0x408]
mov qword [rbp + 0x598], rcx
mov rdi, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [rax + 0x168]
movzx edx, word [rax + 0x3d2]
mov qword [rbp + 0x5a0], rdx
imul r12, rdx, 0x38
mov qword [rbp + 0x5c8], rax
lea r15, [rax - 0x10]
mov r14, 0xffffffffffffffff
nop word [rax + rax]
test r12, r12
je 0x1400325d0
lea r13, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, ebx
call rdi
add r12, 0xffffffffffffffc8
add r15, 0x20
inc r14
mov rcx, r13
cmp eax, 3
je 0x140032590
cmp eax, 1
jne 0x14003260a
jmp 0x1400325d7
mov r14, qword [rbp + 0x5a0]
mov rax, qword [rbp + 0x598]
sub rax, 1
mov r15, qword [rbp + 0x5b0]
jb 0x1400333fd
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x5c8]
mov rax, qword [rax + r14*8 + 0x3d8]
jmp 0x14003255f
cmp eax, 2
jne 0x14003499c
cmp qword [rbp + 0x5c8], 0
je 0x140032ac8
mov rdi, qword [r15 - 8]
mov r14, qword [r15]
mov r15, qword [rbp + 0x5b0]
cmp qword [rbp - 0x30], 0
jne 0x140032641
jmp 0x140032654
xor edi, edi
cmp qword [rbp - 0x30], 0
je 0x140032654
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp - 0x10], 0
je 0x14003266d
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov qword [rbp + 0x598], rax
mov r12, qword [r15 + 0x28]
mov r13, qword [r15 + 0x30]
test r13, r13
je 0x1400326db
cmp r13, 4
jae 0x140032695
lea rdx, [0x140038380]
jmp 0x1400326af
cmp dword [r12], 0x5c3f5c5c
lea rax, [0x140038370]
lea rdx, [0x140038380]
cmove rdx, rax
mov qword [rbp + 0x5c8], r12
movzx ecx, byte [r13 + r12 - 1]
mov byte [rbp + 0x5d7], 1
call rdx
test al, al
mov r15, qword [rbp + 0x5b0]
mov r12, qword [rbp + 0x5c8]
je 0x140032886
lea rdi, [0x14122ae58]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], 0
mov rbx, qword [rbp + 0x488]
test rbx, rbx
je 0x1400340c5
mov qword [rbp + 0x598], rdi
mov rdi, qword [rbp + 0x490]
cmp rdi, 5
mov qword [rbp + 0x5a0], rbx
jb case.0x140032d3d.68
cmp word [rbx + rdi*2 - 0xa], 0x2e
jne case.0x140032d3d.68
cmp word [rbx + rdi*2 - 2], 0
je 0x140032d1e
mov rdi, qword [r15 + 0x98]
mov rsi, qword [r15 + 0xa0]
mov r14b, byte [r15 + 0xad]
mov qword [rbp + 0x540], 0
mov qword [rbp + 0x548], 2
mov qword [rbp + 0x550], 0
lea rcx, [rbp + 0x540]
xor edx, edx
call fcn.140025b50
mov rax, qword [rbp + 0x548]
mov rcx, qword [rbp + 0x550]
mov word [rax + rcx*2], 0x22
inc rcx
mov qword [rbp + 0x550], rcx
add r13, r12
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r12
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.1400259c0
mov rdx, qword [rbp + 0x550]
cmp rdx, qword [rbp + 0x540]
jne 0x1400327d9
lea rcx, [rbp + 0x540]
call fcn.140025b50
mov rdx, qword [rbp + 0x550]
mov rax, qword [rbp + 0x548]
mov word [rax + rdx*2], 0x22
inc rdx
mov qword [rbp + 0x550], rdx
lea rax, [rsi + rsi*4]
lea rbx, [rdi + rax*8]
lea rsi, [rbp + 0x540]
nop
cmp rdi, rbx
je 0x140032906
mov rdx, qword [rbp + 0x550]
cmp rdx, qword [rbp + 0x540]
jne 0x140032828
mov rcx, rsi
call fcn.140025b50
mov rdx, qword [rbp + 0x550]
mov rax, qword [rbp + 0x548]
mov word [rax + rdx*2], 0x20
inc rdx
mov qword [rbp + 0x550], rdx
mov rcx, rsi
mov rdx, rdi
mov r8d, r14d
call fcn.140038ce0
add rdi, 0x28
test rax, rax
je 0x140032800
mov qword [rbp + 0x5c8], rax
cmp qword [rbp + 0x540], 0
je 0x140032a78
mov r8, qword [rbp + 0x548]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032a78
cmp r13, 3
jbe 0x140032a1c
movzx eax, byte [r13 + r12 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140032a1c
movzx eax, byte [r12 + r13 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140032a1c
movzx eax, byte [r12 + r13 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140032a1c
movzx eax, byte [r12 + r13 - 1]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
sete cl
jmp 0x140032a1e
mov rbx, qword [rbp + 0x540]
mov rdi, qword [rbp + 0x548]
test rdi, rdi
je 0x140032a71
mov rsi, qword [rbp + 0x550]
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x5c8], rax
mov qword [rbp + 0x460], rbx
mov qword [rbp + 0x468], rdi
mov qword [rbp + 0x470], rsi
cmp rsi, rbx
jne 0x14003297e
mov byte [rbp + 0x5d4], 1
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.140025b50
mov rdi, qword [rbp + 0x468]
mov rsi, qword [rbp + 0x470]
mov word [rdi + rsi*2], 0
inc rsi
mov qword [rbp + 0x470], rsi
cmp byte [r15 + 0xac], 0
mov eax, 0x400
mov r13d, 0x608
cmove r13d, eax
or r13d, dword [r15 + 0xa8]
cmp qword [rbp + 0x400], 1
jne 0x140032cd2
mov rsi, qword [rbp + 0x408]
mov rdi, qword [rbp + 0x410]
mov rbx, qword [rbp + 0x418]
mov qword [rbp + 0x420], rsi
mov qword [rbp + 0x428], rdi
mov qword [rbp + 0x430], rbx
mov qword [rbp + 0x510], 0
mov qword [rbp + 0x518], 2
mov qword [rbp + 0x520], 0
test rbx, rbx
je 0x140032ef8
mov r14d, 2
xor r12d, r12d
jmp 0x140032f2c
xor ecx, ecx
lea r8, [r12 + r13]
xor eax, eax
nop word cs:[rax + rax]
cmp r13, rax
je 0x140032ae1
movzx edx, byte [r12 + rax]
cmp edx, 0x2f
je 0x140032a4b
inc rax
cmp edx, 0x5c
jne 0x140032a30
test cl, cl
je 0x140032b9b
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
mov rdx, r12
mov r8, r13
call fcn.14002c6c0
jmp 0x1400340a0
mov qword [rbp + 0x5c8], rbx
mov rcx, qword [rbp + 0x598]
mov r8, qword [rbp + 0x5a0]
mov rax, qword [rbp + 0x500]
mov rdx, qword [rbp + 0x5c8]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
test rcx, rcx
je 0x140032ab3
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x400]
test rax, rax
jne 0x1400340e3
jmp 0x140034139
xor edi, edi
mov r15, qword [rbp + 0x5b0]
cmp qword [rbp - 0x30], 0
jne 0x140032641
jmp 0x140032654
mov r9, rdi
xor ebx, ebx
mov rcx, r12
jmp 0x140032afb
xor ebx, ebx
test dx, dx
je 0x140032d12
mov dx, 1
test bx, bx
jne 0x140032af0
cmp rcx, r8
je 0x140033364
movzx eax, byte [rcx]
movzx esi, al
test sil, sil
js 0x140032b1d
inc rcx
jmp 0x140032b6e
mov ebx, esi
and ebx, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp sil, 0xdf
jbe 0x140032b63
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp al, 0xf0
jb 0x140032b77
movzx eax, byte [rcx + 3]
add rcx, 4
and ebx, 7
shl ebx, 0x12
shl esi, 6
and eax, 0x3f
or eax, esi
or eax, ebx
mov esi, eax
cmp esi, 0xffff
jbe 0x140032b6e
jmp 0x140032b88
add rcx, 2
shl ebx, 6
or ebx, edi
mov esi, ebx
xor ebx, ebx
mov edx, esi
jmp 0x140032af2
add rcx, 3
shl ebx, 0xc
or esi, ebx
cmp esi, 0xffff
jbe 0x140032b6e
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x140032af2
xor esi, esi
test r13, r13
setns bl
js 0x140034bff
mov rcx, qword [0x14123bbd0]
test rcx, rcx
jne 0x140032bce
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140034be8
mov rcx, rax
mov qword [0x14123bbd0], rax
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140034be8
mov rdi, rax
mov rcx, rax
mov rdx, r12
mov r8, r13
call fcn.1400440c0
mov qword [rbp + 0x540], r13
mov qword [rbp + 0x548], rdi
mov qword [rbp + 0x550], r13
mov byte [rbp + 0x558], 0
mov rax, qword [rbp + 0x550]
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 0x558]
mov byte [rbp - 0x18], al
mov eax, dword [rbp + 0x559]
mov dword [rbp - 0x17], eax
movzx eax, word [rbp + 0x55d]
mov word [rbp - 0x13], ax
movzx eax, byte [rbp + 0x55f]
mov byte [rbp - 0x11], al
mov rax, qword [rbp + 0x540]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x548]
mov qword [rbp - 0x28], rax
lea rdx, [0x14122ae70]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.14002b5f0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x550], xmm1
movdqa xmmword [rbp + 0x540], xmm0
mov r15, qword [rbp + 0x548]
mov r14, qword [rbp + 0x550]
mov byte [rbp + 0x5ae], 1
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, r14
call fcn.140038390
cmp qword [rbp - 0x28], 0
je 0x140032ebe
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x490], rax
movdqu xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x480], xmm0
jmp 0x140034084
mov r12d, 2
xor eax, eax
xor r14d, r14d
cmp byte [r15 + 0x18], 2
mov qword [rbp + 0x5b0], rax
jne 0x140033b56
xor eax, eax
mov qword [rbp + 0x508], rax
mov eax, 2
mov qword [rbp + 0x450], rax
xor eax, eax
mov qword [rbp + 0x3e0], rax
jmp 0x140033cbe
lea rdi, [0x14122ae20]
jmp 0x1400326e2
movzx eax, word [rbx + rdi*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x140032d3d.68
lea rdx, [0x140035e60]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, word [rbx + rdi*2 - 6]
or ecx, 0x20
cmp ecx, 0x61
jne 0x140032d59
movzx ecx, word [rbx + rdi*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x140032d87
cmp ax, 0x43
jne case.0x140032d3d.68
movzx eax, word [rbx + rdi*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x140032d3d.68
movzx eax, word [rbx + rdi*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
jne case.0x140032d3d.68
mov qword [rbp + 0x5b8], rdi
mov qword [rbp + 0x540], 0
mov qword [rbp + 0x548], 2
mov qword [rbp + 0x550], 0
mov eax, 0x200
mov ecx, 2
mov qword [rbp + 0x5c8], rcx
xor r15d, r15d
xor r14d, r14d
xor esi, esi
cmp rax, 0x201
jb 0x140032dee
jmp 0x140032e00
jae 0x140033480
cmp rax, 0x201
jae 0x140032e00
lea r13, [rbp - 0x30]
mov r12d, 0x200
mov rbx, rax
jmp 0x140032e5a
sub rax, rsi
sub r14, rsi
cmp r14, rax
jae 0x140032e32
lea rcx, [rbp + 0x540]
mov rdx, rsi
mov r8, rax
call fcn.1400529b0
mov r15, qword [rbp + 0x540]
mov rax, qword [rbp + 0x548]
mov qword [rbp + 0x5c8], rax
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovb rsi, r15
mov qword [rbp + 0x550], rsi
mov r14, r15
mov r13, qword [rbp + 0x5c8]
mov r12, rsi
mov rbx, rsi
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 0x140032e81
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400334c0
mov eax, edi
cmp rbx, rax
jne 0x140032de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140034b3a
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov rax, rbx
cmp rax, 0x201
jae 0x140032e00
jmp 0x140032dee
mov rcx, r15
mov rdx, r14
call fcn.140030a30
test rax, rax
je 0x140034072
cmp rdx, 2
jne 0x14003340f
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14003340f
mov r8d, 2
xor ecx, ecx
jmp 0x14003345e
mov byte [rbp + 0x5d3], 1
lea rcx, [rbp + 0x510]
xor edx, edx
call fcn.140025b50
mov r14, qword [rbp + 0x518]
mov r12, qword [rbp + 0x520]
mov word [r14 + r12*2], 0
inc r12
mov qword [rbp + 0x520], r12
xor eax, eax
test rdi, rdi
cmove rbx, rdi
sete al
add rax, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
mov qword [rbp], rdi
mov qword [rbp + 0x10], rbx
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.140031470
mov rax, qword [rbp + 0x548]
test rax, rax
je 0x140033ae2
mov rcx, qword [rbp + 0x550]
imul rdx, rcx, 0x38
cmp byte [rax + rdx + 0x180], 2
je 0x140033ae2
mov r9, qword [rax + rdx + 0x168]
mov r8, qword [rax + rdx + 0x170]
mov r10, qword [rax + rdx + 0x178]
mov rbx, qword [rax + rdx + 0x188]
mov qword [rbp + 0x508], rbx
mov rbx, qword [rax + rdx + 0x190]
mov qword [rbp + 0x5b8], rbx
mov r15, qword [rax + rdx + 0x198]
shl rcx, 5
movdqu xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
movaps xmmword [rbp + 0x490], xmm1
movdqa xmmword [rbp + 0x480], xmm0
add r10, r8
xor esi, esi
mov rdx, r8
jmp 0x14003300b
xor esi, esi
test di, di
je 0x14003330a
mov di, 1
test si, si
jne 0x140033000
cmp rdx, r10
je 0x1400330a6
movzx eax, byte [rdx]
movzx ebx, al
test bl, bl
js 0x14003302c
inc rdx
jmp 0x14003307c
mov esi, ebx
and esi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x140033071
movzx ebx, byte [rdx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x140033082
movzx eax, byte [rdx + 3]
add rdx, 4
and esi, 7
shl esi, 0x12
shl ebx, 6
and eax, 0x3f
or eax, ebx
or eax, esi
mov ebx, eax
cmp ebx, 0xffff
jbe 0x14003307c
jmp 0x140033093
add rdx, 2
shl esi, 6
or esi, ecx
mov ebx, esi
xor esi, esi
mov edi, ebx
jmp 0x140033002
add rdx, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x14003307c
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x140033002
test r9, r9
je 0x1400330ba
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x510]
sub rax, r12
cmp rax, r15
jae 0x1400330e9
lea rcx, [rbp + 0x510]
mov rdx, r12
mov r8, r15
call fcn.1400529b0
mov r14, qword [rbp + 0x518]
mov r12, qword [rbp + 0x520]
mov rsi, qword [rbp + 0x5b8]
lea r8, [r15 + r15]
lea rcx, [r14 + r12*2]
mov rdx, rsi
call fcn.1400440c0
add r12, r15
mov qword [rbp + 0x520], r12
cmp qword [rbp + 0x508], 0
je 0x140033126
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r12, qword [rbp + 0x510]
jne 0x140033153
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x510]
mov rdx, r12
call fcn.140025b50
mov r14, qword [rbp + 0x518]
mov r12, qword [rbp + 0x520]
mov word [r14 + r12*2], 0x3d
inc r12
mov qword [rbp + 0x520], r12
mov r12, qword [rbp + 0x480]
mov r15, qword [rbp + 0x488]
mov r9, qword [rbp + 0x490]
movzx r8d, byte [rbp + 0x498]
lea r10, [r15 + r9]
xor esi, esi
mov rdi, r15
jmp 0x14003319b
xor esi, esi
test cx, cx
je 0x140033398
mov cx, 1
test si, si
jne 0x140033190
cmp rdi, r10
je 0x140033236
movzx eax, byte [rdi]
movzx ebx, al
test bl, bl
js 0x1400331bc
inc rdi
jmp 0x14003320c
mov esi, ebx
and esi, 0x1f
movzx edx, byte [rdi + 1]
and edx, 0x3f
cmp bl, 0xdf
jbe 0x140033201
movzx ebx, byte [rdi + 2]
shl edx, 6
and ebx, 0x3f
or ebx, edx
cmp al, 0xf0
jb 0x140033212
movzx eax, byte [rdi + 3]
add rdi, 4
and esi, 7
shl esi, 0x12
shl ebx, 6
and eax, 0x3f
or eax, ebx
or eax, esi
mov ebx, eax
cmp ebx, 0xffff
jbe 0x14003320c
jmp 0x140033223
add rdi, 2
shl esi, 6
or esi, edx
mov ebx, esi
xor esi, esi
mov ecx, ebx
jmp 0x140033192
add rdi, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x14003320c
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x140033192
cmp r8b, 2
je 0x140034994
lea rcx, [rbp + 0x499]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
lea rdx, [rbp + 0x559]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov qword [rbp + 0x540], r12
mov qword [rbp + 0x548], r15
mov qword [rbp + 0x550], r9
mov byte [rbp + 0x558], r8b
mov qword [rbp + 0x4e0], r10
mov qword [rbp + 0x4e8], r15
mov word [rbp + 0x4f0], 0
lea rcx, [rbp + 0x510]
lea rdx, [rbp + 0x4e0]
call fcn.1400259c0
test r12, r12
je 0x1400332b5
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rbp + 0x520]
cmp r12, qword [rbp + 0x510]
jne 0x1400332e2
mov byte [rbp + 0x5c7], 0
lea rcx, [rbp + 0x510]
mov rdx, r12
call fcn.140025b50
mov r12, qword [rbp + 0x520]
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
mov r14, qword [rbp + 0x518]
mov word [r14 + r12*2], 0
inc r12
mov qword [rbp + 0x520], r12
jmp 0x140032f62
test r9, r9
je 0x14003331e
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x480], 0
mov rsi, qword [rbp + 0x5b8]
je 0x140033345
mov r8, qword [rbp + 0x488]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r14, [0x14122ae20]
cmp qword [rbp + 0x508], 0
je 0x1400333b6
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
jmp 0x1400333b0
cmp r13, 0xf
mov rsi, r9
ja 0x140033463
xor eax, eax
mov qword [rbp + 0x5b8], rax
xor eax, eax
nop dword [rax]
cmp byte [r12 + rax], 0x2e
je 0x1400334d6
inc rax
cmp r13, rax
jne 0x140033380
jmp 0x1400334e2
lea r14, [0x14122ae20]
test r12, r12
je 0x1400333b6
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp - 0x30]
call fcn.140039280
cmp qword [rbp + 0x510], 0
je 0x1400333e6
mov r8, qword [rbp + 0x518]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x500]
mov qword [rax], r14
mov qword [rax + 0x10], 2
jmp 0x140033e6c
xor edi, edi
cmp qword [rbp - 0x30], 0
jne 0x140032641
jmp 0x140032654
xor edi, edi
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, rdi
je 0x1400334b6
mov rbx, rdi
lea rsi, [rcx - 1]
inc rdi
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, rsi
jne 0x140033420
mov r8, rdx
sub r8, rdi
lea rcx, [r8 + 1]
cmp rdx, rcx
jb 0x140034c38
cmp rdx, rdi
jne 0x140034040
xor ecx, ecx
mov r8, rdx
jmp 0x14003404a
mov byte [rbp + 0x5d7], 1
mov cl, 0x2e
mov rdx, r12
mov r8, r13
call fcn.140016f20
mov qword [rbp + 0x5b8], rax
jmp 0x1400334e2
cmp r12, rax
jb 0x140034c24
test edi, edi
je 0x140034391
mov rsi, rax
lea rbx, [rax + rax]
mov edx, 2
mov rcx, rbx
call fcn.140011320
test rax, rax
je 0x140034c46
mov r14, rax
jmp 0x14003439c
mov rcx, rax
xor eax, eax
jmp 0x14003404a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
xor r14d, r14d
jmp 0x1400343ad
mov eax, 1
mov qword [rbp + 0x5b8], rax
test rsi, rsi
je 0x14003352b
add r14, rsi
mov qword [rbp + 0x540], r14
mov qword [rbp + 0x548], rsi
mov word [rbp + 0x550], 0
mov byte [rbp + 0x558], 1
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x540]
call fcn.14002a940
movzx eax, byte [rbp - 0x18]
cmp al, 2
jne 0x140033837
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.14002b220
cmp byte [rbp + 0x498], 2
jne 0x14003355f
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.1400268c0
jmp 0x14003364d
movdqu xmm0, xmmword [rbp + 0x480]
movups xmm1, xmmword [rbp + 0x490]
movdqa xmmword [rbp + 0x540], xmm0
movaps xmmword [rbp + 0x550], xmm1
mov rcx, qword [rbp + 0x548]
mov rsi, qword [rbp + 0x550]
mov byte [rbp + 0x5ad], 1
mov rdx, rsi
call fcn.14002ea30
test rax, rax
mov r12, qword [rbp + 0x5c8]
je 0x1400335b2
cmp rsi, rdx
jb 0x1400335b2
mov qword [rbp + 0x550], rdx
movdqa xmm0, xmmword [rbp + 0x540]
mov rax, qword [rbp + 0x550]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x558]
mov qword [rbp - 0x18], rax
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
mov rdx, r12
mov r8, r13
call fcn.14002ce30
mov r15, qword [rbp + 0x5b0]
cmp qword [rbp + 0x5b8], 1
je 0x1400335fe
lea rcx, [rbp - 0x30]
call fcn.140030b90
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038390
cmp qword [rbp - 0x30], 0
je 0x14003362e
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x4e8]
test rbx, rbx
je 0x14003364d
mov rdi, qword [rbp + 0x4e0]
mov rsi, qword [rbp + 0x4f0]
jmp 0x140034280
mov qword [rbp + 0x510], 0
mov qword [rbp + 0x518], 2
mov qword [rbp + 0x520], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x538], rax
xor eax, eax
mov qword [rbp + 0x5a0], rax
xor r14d, r14d
xor r15d, r15d
cmp r8, 0x201
jb 0x1400336af
jmp 0x1400336c0
jae 0x14003378a
cmp r8, 0x201
jae 0x1400336c0
lea rdi, [rbp - 0x30]
mov esi, 0x200
mov rbx, r8
jmp 0x140033723
sub r8, r15
sub r14, r15
cmp r14, r8
jae 0x1400336f6
lea rcx, [rbp + 0x510]
mov rdx, r15
call fcn.1400529b0
mov rax, qword [rbp + 0x510]
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x518]
mov qword [rbp + 0x538], rax
mov r14, qword [rbp + 0x5a0]
mov eax, 0xffffffff
cmp r14, rax
mov r15d, 0xffffffff
cmovb r15, r14
mov qword [rbp + 0x520], r15
mov rdi, qword [rbp + 0x538]
mov rsi, r15
mov rbx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r12d, eax
test eax, eax
jne 0x14003374b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003393f
mov r8d, r12d
cmp rbx, r8
jne 0x1400336a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140034b1d
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x1400336c0
jmp 0x1400336af
cmp rsi, r8
jb 0x140034c0d
lea rcx, [rbp + 0x540]
mov rdx, rdi
call fcn.1400269a0
lea rcx, [rbp + 0x540]
mov rdx, qword [rbp + 0x5c8]
mov r8, r13
call fcn.14002ce30
cmp qword [rbp + 0x5b8], 1
je 0x1400337ce
lea rcx, [rbp + 0x540]
call fcn.140030b90
mov rsi, qword [rbp + 0x548]
mov r8, qword [rbp + 0x550]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038390
cmp qword [rbp + 0x540], 0
je 0x140033807
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x4e0]
movdqu xmmword [rbp + 0x488], xmm0
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x498], rax
mov qword [rbp + 0x480], 0
xor esi, esi
jmp 0x140033962
lea r14, [rbp - 0x17]
lea rdi, [rbp - 0x30]
lea r12, [rbp + 0x540]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003386e
mov byte [rbp + 0x5d7], 1
mov rcx, rdi
mov rdx, r12
call fcn.14002a940
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x14003352b
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140033892
test rcx, rcx
je 0x140033850
mov rcx, qword [0x14123bbd0]
xor edx, edx
call r15
jmp 0x140033850
mov ebx, dword [r14]
mov esi, dword [r14 + 3]
mov dword [rbp + 0x463], esi
mov dword [rbp + 0x460], ebx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x18], al
mov eax, dword [rbp + 0x460]
mov ecx, dword [rbp + 0x463]
mov dword [r14 + 3], ecx
mov dword [r14], eax
mov rcx, rdi
mov rdx, qword [rbp + 0x5c8]
mov r8, r13
call fcn.14002ce30
cmp qword [rbp + 0x5b8], 1
je 0x1400338eb
mov rcx, rdi
call fcn.140030b90
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x480]
mov rdx, rbx
call fcn.140038390
cmp qword [rbp - 0x30], 0
je 0x140033918
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rbx
call r15
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x14003492d
mov byte [rbp + 0x5d7], 1
mov rcx, rdi
mov rdx, r12
call fcn.14002a940
jmp 0x140033862
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x488], rax
mov qword [rbp + 0x480], 1
mov sil, 1
cmp qword [rbp + 0x5a0], 0
je 0x140033982
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x490]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034264
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.1400384e0
mov qword [rbp + 0x510], 0
mov qword [rbp + 0x518], 2
mov qword [rbp + 0x520], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x538], rax
xor eax, eax
mov qword [rbp + 0x5a0], rax
xor r14d, r14d
xor esi, esi
cmp r8, 0x201
jb 0x140033a0a
jmp 0x140033a19
jae 0x140033f93
cmp r8, 0x201
jae 0x140033a19
lea rdi, [rbp - 0x30]
mov r15d, 0x200
mov rbx, r8
jmp 0x140033a7b
sub r8, rsi
sub r14, rsi
cmp r14, r8
jae 0x140033a4f
lea rcx, [rbp + 0x510]
mov rdx, rsi
call fcn.1400529b0
mov rax, qword [rbp + 0x510]
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x518]
mov qword [rbp + 0x538], rax
mov r14, qword [rbp + 0x5a0]
mov eax, 0xffffffff
cmp r14, rax
mov esi, 0xffffffff
cmovb rsi, r14
mov qword [rbp + 0x520], rsi
mov rdi, qword [rbp + 0x538]
mov r15, rsi
mov rbx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov r12d, eax
test eax, eax
jne 0x140033aa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003415b
mov r8d, r12d
cmp rbx, r8
jne 0x1400339fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140034bcb
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x140033a19
jmp 0x140033a0a
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp - 0x30]
call fcn.140039280
mov r15, qword [rbp + 0x5b0]
cmp r12, qword [rbp + 0x510]
jne 0x140033b26
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp + 0x510]
mov rdx, r12
call fcn.140025b50
mov r14, qword [rbp + 0x518]
mov r12, qword [rbp + 0x520]
mov word [r14 + r12*2], 0
mov r12, qword [rbp + 0x518]
test r12, r12
je 0x1400333e6
mov rax, qword [rbp + 0x510]
cmp byte [r15 + 0x18], 2
mov qword [rbp + 0x5b0], rax
je 0x140032cef
mov r8, qword [r15 + 8]
mov r9, qword [r15 + 0x10]
add r9, r8
xor edi, edi
mov rdx, r8
jmp 0x140033b7b
xor edi, edi
test bx, bx
je 0x140033c1b
mov bx, 1
test di, di
jne 0x140033b70
cmp rdx, r9
je 0x140033c40
movzx eax, byte [rdx]
movzx esi, al
test sil, sil
js 0x140033b9d
inc rdx
jmp 0x140033bee
mov edi, esi
and edi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp sil, 0xdf
jbe 0x140033be3
movzx esi, byte [rdx + 2]
shl ecx, 6
and esi, 0x3f
or esi, ecx
cmp al, 0xf0
jb 0x140033bf7
movzx eax, byte [rdx + 3]
add rdx, 4
and edi, 7
shl edi, 0x12
shl esi, 6
and eax, 0x3f
or eax, esi
or eax, edi
mov esi, eax
cmp esi, 0xffff
jbe 0x140033bee
jmp 0x140033c08
add rdx, 2
shl edi, 6
or edi, ecx
mov esi, edi
xor edi, edi
mov ebx, esi
jmp 0x140033b72
add rdx, 3
shl edi, 0xc
or esi, edi
cmp esi, 0xffff
jbe 0x140033bee
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x140033b72
lea rax, [0x14122ae20]
mov rcx, qword [rbp + 0x500]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rsi, qword [rbp + 0x5b0]
jmp 0x140033e55
mov qword [rbp + 0x5b8], r12
mov qword [rbp - 0x30], r9
mov qword [rbp - 0x28], r8
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.140035f60
mov rax, qword [rbp + 0x540]
mov rdx, qword [rbp + 0x550]
cmp rdx, rax
jne 0x140033c92
lea rcx, [rbp + 0x540]
call fcn.140025b50
mov rax, qword [rbp + 0x540]
mov rdx, qword [rbp + 0x550]
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x548]
mov word [rcx + rdx*2], 0
mov rax, rcx
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x450], rcx
mov r12, qword [rbp + 0x5b8]
mov qword [rbp + 0x5b8], r12
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x4e0], xmm0
mov qword [rbp + 0x4f0], 0
lea rdi, [0x14123bbe0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x14123bbb0]
shl rax, 1
test rax, rax
mov qword [rbp + 0x3d8], r14
jne 0x1400346b5
xor r12d, r12d
mov bl, byte [0x14123bbe8]
xor eax, eax
test bl, bl
setne al
mov qword [rbp + 0x488], rdi
mov byte [rbp + 0x490], r12b
mov qword [rbp + 0x480], rax
mov qword [rbp + 0x540], 0
mov qword [rbp + 0x550], 0
mov rcx, r15
add r15, 0x70
mov r14, qword [rcx + 0x70]
xor eax, eax
cmp r14, 5
cmove r15, rax
mov qword [rbp + 0x560], 0
lea rdi, [rcx + 0x80]
mov rsi, qword [rcx + 0x80]
cmp rsi, 5
cmove rdi, rax
mov rax, qword [rcx + 0x60]
mov rdx, qword [rcx + 0x68]
cmp rax, 5
mov ecx, 1
cmovne rcx, rax
lea r9, [rbp + 0x540]
mov r8d, 0xfffffff6
call fcn.140039350
test rax, rax
je 0x140033eb5
mov rax, qword [rbp + 0x500]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov rsi, qword [rbp + 0x5b0]
cmp qword [rbp + 0x540], 0
je 0x140033dd8
mov rcx, qword [rbp + 0x548]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x550], 0
je 0x140033def
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x560], 0
je 0x140033e06
mov rcx, qword [rbp + 0x568]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
test r12b, r12b
jne 0x140033e21
mov rax, qword [0x14123bbb0]
shl rax, 1
test rax, rax
jne 0x1400348e6
lea rcx, [0x14123bbe0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rbp + 0x508], 0
mov r12, qword [rbp + 0x5b8]
je 0x140033e55
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140033e6c
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x460], 0
je 0x140033e8c
mov r8, qword [rbp + 0x468]
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x5c8], 0
je 0x140034139
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034139
mov qword [rbp + 0x458], rdx
lea r9, [rbp + 0x550]
add r15, 8
cmp r14, 5
mov ecx, 2
cmovne rcx, r14
lea r14, [rbp + 0x3d0]
cmove r15, r14
mov rdx, qword [r15]
mov r8d, 0xfffffff5
call fcn.140039350
test rax, rax
je 0x140033f06
mov rax, qword [rbp + 0x500]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
jmp 0x140033f6c
mov qword [rbp + 0x448], rdx
add rdi, 8
cmp rsi, 5
mov ecx, 2
cmovne rcx, rsi
lea r9, [rbp + 0x560]
cmove rdi, r14
mov rdx, qword [rdi]
mov r8d, 0xfffffff4
call fcn.140039350
mov rdi, rdx
test rax, rax
mov rcx, qword [rbp + 0x3d8]
je 0x1400346c6
mov rax, qword [rbp + 0x500]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
mov rsi, qword [rbp + 0x448]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rbp + 0x5b0]
mov rcx, qword [rbp + 0x458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x540], 0
jne 0x140033dcb
jmp 0x140033dd8
cmp r15, r8
jb 0x140034c55
lea rcx, [rbp + 0x540]
mov rdx, rdi
call fcn.1400269a0
lea rcx, [rbp + 0x540]
mov rdx, qword [rbp + 0x5c8]
mov r8, r13
call fcn.14002ce30
cmp qword [rbp + 0x5b8], 1
je 0x140033fd7
lea rcx, [rbp + 0x540]
call fcn.140030b90
mov rsi, qword [rbp + 0x548]
mov r8, qword [rbp + 0x550]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038390
cmp qword [rbp + 0x540], 0
je 0x140034010
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x4e0]
movdqu xmmword [rbp + 0x488], xmm0
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x498], rax
mov qword [rbp + 0x480], 0
xor esi, esi
jmp 0x14003417e
lea rcx, [rsi + rdx]
inc rcx
mov rdx, rbx
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x140034072
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, r15
cmp r14, rcx
jb 0x140034072
mov qword [rbp + 0x550], rcx
mov r14, rcx
lea rcx, [rbp + 0x480]
mov rdx, r15
mov r8, r14
call fcn.14002c6c0
cmp qword [rbp + 0x540], 0
je 0x1400340a0
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbp + 0x480]
mov r15, qword [rbp + 0x5b0]
mov r12, qword [rbp + 0x5c8]
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x140032704
mov rax, qword [rbp + 0x500]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
mov rax, qword [rbp + 0x598]
test rax, rax
je 0x140034139
mov rcx, qword [rbp + 0x410]
test rcx, rcx
je 0x140034119
mov rdx, qword [rbp + 0x408]
mov rax, qword [rbp + 0x418]
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 8], rdx
mov qword [rbp], rcx
xor ecx, ecx
jmp 0x140034128
mov qword [rbp - 0x30], 2
mov ecx, 2
xor eax, eax
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.140039280
movaps xmm6, xmmword [rbp + 0x5e0]
movaps xmm7, xmmword [rbp + 0x5f0]
add rsp, 0x688
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x488], rax
mov qword [rbp + 0x480], 1
mov sil, 1
cmp qword [rbp + 0x5a0], 0
je 0x14003419e
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x490]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034264
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.1400384e0
mov byte [rbp + 0x5d7], 1
lea rdx, [0x141229ee4]
lea rcx, [rbp + 0x4e0]
mov r8d, 4
call fcn.140028690
cmp byte [rbp + 0x4f8], 2
je 0x14003487c
movdqu xmm0, xmmword [rbp + 0x4e0]
movups xmm1, xmmword [rbp + 0x4f0]
movdqa xmmword [rbp + 0x480], xmm0
movaps xmmword [rbp + 0x490], xmm1
mov rcx, qword [rbp + 0x488]
mov rax, qword [rbp + 0x490]
add rax, rcx
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x5a0], rcx
mov qword [rbp + 0x548], rcx
mov word [rbp + 0x550], 0
mov byte [rbp + 0x558], 1
lea r14, [rbp - 0x17]
lea rdi, [rbp - 0x30]
lea r12, [rbp + 0x540]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400342ba
mov rdi, qword [rbp + 0x488]
mov rsi, qword [rbp + 0x498]
mov r15, qword [rbp + 0x5b0]
mov r12, qword [rbp + 0x5c8]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], rbx
mov qword [rbp + 0x490], rsi
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x140032704
jmp 0x1400340c5
mov rbx, qword [rbp + 0x518]
test rbx, rbx
jne 0x140034940
mov rcx, rdi
mov rdx, r12
call fcn.14002a940
jmp 0x1400342d2
mov rcx, rdi
mov rdx, r12
call fcn.14002a940
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x14003485c
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140034302
test rcx, rcx
je 0x1400342c7
mov rcx, qword [0x14123bbd0]
xor edx, edx
call r15
jmp 0x1400342c7
mov ebx, dword [r14]
mov esi, dword [r14 + 3]
mov dword [rbp + 0x423], esi
mov dword [rbp + 0x420], ebx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x18], al
mov eax, dword [rbp + 0x420]
mov ecx, dword [rbp + 0x423]
mov dword [r14 + 3], ecx
mov dword [r14], eax
mov rcx, rdi
mov rdx, qword [rbp + 0x5c8]
mov r8, r13
call fcn.14002ce30
cmp qword [rbp + 0x5b8], 1
je 0x14003435b
mov rcx, rdi
call fcn.140030b90
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x510]
mov rdx, rbx
call fcn.140038390
cmp qword [rbp - 0x30], 0
je 0x1400342aa
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, rbx
call r15
jmp 0x1400342aa
mov rsi, rax
mov r14d, 2
xor ebx, ebx
mov rcx, r14
mov rdx, r13
mov r8, rbx
call fcn.1400440c0
mov rax, rsi
test r15, r15
je 0x1400343ce
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x5c8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rsi
test r14, r14
je 0x1400346a9
mov qword [rbp + 0x480], rax
mov qword [rbp + 0x488], r14
mov r13, rax
mov qword [rbp + 0x490], rax
lea rbx, [0x14122aea3]
xor edi, edi
xor r15d, r15d
mov r12, rbx
mov rax, rbx
mov rcx, rbx
jmp 0x14003445a
mov r8, rbx
sub r8, r12
add r8, 0xb
shr r8, 2
sub r8, r15
inc r8
mov rdx, r13
inc r8
lea rcx, [rbp + 0x480]
call fcn.1400529b0
mov r14, qword [rbp + 0x488]
mov rax, r12
mov rcx, r12
mov rdx, r13
mov word [r14 + r13*2], di
inc rdx
mov r13, rdx
mov qword [rbp + 0x490], rdx
mov edi, esi
test rcx, rcx
je 0x1400344ea
test di, di
je 0x140034478
xor esi, esi
cmp r13, qword [rbp + 0x480]
jne 0x140034443
jmp 0x140034560
lea rcx, [0x14122aeab]
cmp rax, rcx
je 0x1400344e5
mov r9, rbx
movzx ebx, byte [rax]
movzx edx, bl
test dl, dl
js 0x14003449f
inc rax
mov r12, rax
mov rbx, r9
jmp 0x140034546
mov ecx, edx
and ecx, 0x1f
movzx esi, byte [rax + 1]
and esi, 0x3f
cmp dl, 0xdf
jbe 0x14003450f
movzx r8d, byte [rax + 2]
shl esi, 6
and r8d, 0x3f
or r8d, esi
cmp bl, 0xf0
jb 0x140034522
movzx edx, byte [rax + 3]
and ecx, 7
shl ecx, 0x12
shl r8d, 6
and edx, 0x3f
or edx, r8d
or edx, ecx
cmp edx, 0x110000
mov rbx, r9
jne 0x140034537
xor r12d, r12d
xor eax, eax
cmp r15, 1
je 0x1400345ab
mov r15d, 1
xor ecx, ecx
mov esi, edi
xor edi, edi
cmp r13, qword [rbp + 0x480]
jne 0x140034443
jmp 0x140034560
add rax, 2
shl ecx, 6
or ecx, esi
mov r12, rax
mov edx, ecx
mov rbx, r9
jmp 0x140034546
add rax, 3
shl ecx, 0xc
or r8d, ecx
mov r12, rax
mov edx, r8d
mov rbx, r9
jmp 0x14003453e
add rax, 4
mov r12, rax
cmp edx, 0xffff
ja 0x140034577
xor esi, esi
mov rax, r12
mov rcx, r12
mov edi, edx
cmp r13, qword [rbp + 0x480]
jne 0x140034443
nop dword [rax]
test r12, r12
jne 0x140034410
mov r8d, 1
sub r8, r15
jmp 0x140034424
add edx, 0xffff0000
mov edi, edx
shr edi, 0xa
or edi, 0xd800
and edx, 0x3ff
or edx, 0xdc00
mov esi, edx
mov rax, r12
mov rcx, r12
cmp r13, qword [rbp + 0x480]
jne 0x140034443
jmp 0x140034560
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x488]
test rax, rax
je 0x140032a78
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x598]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x5a0]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.1400385d0
mov rcx, qword [rbp + 0x540]
mov rdx, qword [rbp + 0x548]
test rdx, rdx
mov r15, qword [rbp + 0x5b0]
je 0x140034830
mov qword [rbp + 0x5b8], rcx
mov r8, qword [rbp + 0x550]
mov r9, qword [r15 + 0x98]
mov rax, qword [r15 + 0xa0]
movzx ecx, byte [r15 + 0xad]
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x480]
mov qword [rbp + 0x508], rdx
call fcn.1400386d0
mov rbx, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
test rdi, rdi
je 0x14003489a
mov rsi, qword [rbp + 0x490]
cmp qword [rbp + 0x5b8], 0
je 0x14003469d
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x508]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x5c8]
jmp 0x140032939
mov qword [rbp + 0x5c8], rax
jmp 0x140032a78
call fcn.140052a70
mov r12d, eax
xor r12b, 1
jmp 0x140033d0a
pxor xmm0, xmm0
movdqu xmmword [rbp + 4], xmm0
movdqu xmmword [rbp - 8], xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov dword [rbp - 0x30], 0x68
test rdi, rdi
mov rax, qword [rbp + 0x458]
mov rsi, qword [rbp + 0x448]
jne 0x14003470c
test rsi, rsi
jne 0x14003470c
test rax, rax
je 0x14003471f
mov dword [rbp + 0xc], 0x100
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov r14, qword [rbp + 0x468]
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x3e0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp + 0x538]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400348ff
movups xmm0, xmmword [rbp + 0x540]
movups xmm1, xmmword [rbp + 0x550]
movups xmm2, xmmword [rbp + 0x560]
mov rax, qword [rbp + 0x500]
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x4e0]
movdqu xmmword [rax], xmm0
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call rbx
mov rcx, rsi
call rbx
mov rcx, qword [rbp + 0x458]
call rbx
lea rcx, [rbp + 0x480]
call fcn.140039fc0
cmp qword [rbp + 0x508], 0
je 0x1400347f1
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x5b0], 0
mov r8, qword [rbp + 0x5b8]
je 0x140034811
mov rcx, qword [0x14123bbd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x460], 0
je 0x140033e8c
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, r14
jmp 0x140033e86
mov rax, qword [rbp + 0x500]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov r8, qword [rbp + 0x538]
cmp qword [rbp + 0x5c8], 0
jne 0x140032aa4
jmp 0x140032ab3
cmp qword [rbp + 0x480], 0
je 0x14003487c
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdi, [0x14122ae88]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], 0
jmp 0x1400340a7
mov rax, qword [rbp + 0x500]
mov qword [rax], rbx
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x5c8], 0
je 0x1400348cc
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x508]
cmp qword [rbp + 0x5b8], 0
jne 0x140032aa4
jmp 0x140032ab3
call fcn.140052a70
test al, al
jne 0x140033e21
mov byte [0x14123bbe8], 1
jmp 0x140033e21
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x500]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140033f63
mov rdi, qword [rbp + 0x480]
mov rsi, qword [rbp + 0x490]
jmp 0x140034272
mov rdi, qword [rbp + 0x510]
mov rsi, qword [rbp + 0x520]
cmp qword [rbp + 0x480], 0
je 0x140034272
mov rcx, qword [0x14123bbd0]
xor edx, edx
mov r8, qword [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034272
lea rcx, [0x1412288a8]
lea r8, [0x141228e98]
mov edx, 0x2b
call fcn.140051ae0
jmp 0x140034c6a
mov r14, r12
jmp 0x1400333b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4e0], rax
lea rax, [rbp + 0x4e0]
mov qword [rbp + 0x480], rax
lea rax, [0x140029570]
mov qword [rbp + 0x488], rax
lea rax, [0x14122adb0]
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
mov qword [rbp + 0x540], 0
lea rax, [rbp + 0x480]
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x568], 1
lea rdx, [0x14122ade8]
lea rcx, [rbp + 0x540]
call fcn.140051a00
jmp 0x140034c6a
lea rcx, [0x1412288a8]
lea r8, [0x141228ec8]
mov edx, 0x2b
call fcn.140051ae0
jmp 0x140034c6a
mov byte [rbp + 0x5c6], 1
mov edx, 1
mov rcx, rsi
call fcn.140051930
jmp 0x140034c6a
mov edx, 1
mov rcx, r12
call fcn.140051930
jmp 0x140034c6a
mov rcx, r12
mov rdx, rbx
call fcn.140051930
jmp 0x140034c6a
call fcn.140011430
jmp 0x140034c6a
mov byte [rbp + 0x5c6], 1
call fcn.140011430
jmp 0x140034c6a
call fcn.140011430
jmp 0x140034c6a
lea r8, [0x14122ab70]
mov ecx, 1
xor edx, edx
call fcn.140051ac0
jmp 0x140034c6a
lea rax, [0x14122ab88]
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.140051ad0
jmp 0x140034c6a
lea r8, [0x14122aba0]
mov rdx, rdi
call fcn.140051ac0
jmp 0x140034c6a
lea rcx, [0x141228ab0]
lea r8, [0x141228ad8]
mov edx, 0x21
call fcn.140051ae0
jmp 0x140034c6a
mov byte [rbp + 0x5d7], 1
mov ecx, 4
mov edx, 1
call fcn.140051930
jmp 0x140034c6a
lea rcx, [0x141228c40]
lea r8, [0x14122b2c0]
mov edx, 0x28
call fcn.140051ae0
jmp 0x140034c6a
lea rcx, [0x141228c40]
lea r8, [0x14122b2c0]
mov edx, 0x28
call fcn.140051ae0
jmp 0x140034c6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x480], rax
lea rax, [rbp + 0x480]
mov qword [rbp + 0x540], rax
lea rax, [0x140029570]
mov qword [rbp + 0x548], rax
lea rax, [0x14122abe0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x30], 0
lea rax, [rbp + 0x540]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rdx, [0x14122abf0]
lea rcx, [rbp - 0x30]
call fcn.140051a00
jmp 0x140034c6a
lea rcx, [0x141228c40]
lea r8, [0x14122b2c0]
mov edx, 0x28
call fcn.140051ae0
jmp 0x140034c6a
mov sil, bl
mov byte [rbp + 0x5d7], 1
mov rcx, r13
mov rdx, rsi
call fcn.140051930
jmp 0x140034c6a
mov byte [rbp + 0x5d7], 1
call fcn.140011430
jmp 0x140034c6a
lea rax, [0x14122b2d8]
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140051ad0
jmp 0x140034c6a
lea r8, [0x14122b2d8]
mov rcx, rax
mov rdx, r12
call fcn.140051ad0
jmp 0x140034c6a
lea r8, [0x1412283e0]
call fcn.140051ac0
jmp 0x140034c6a
mov edx, 2
mov rcx, rbx
call fcn.140051930
jmp 0x140034c6a
lea rax, [0x14122b2d8]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.140051ad0
ud2