Function at 0x140031ce0
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 r12, rdx
mov qword [rbp + 0x478], rcx
mov rdi, qword [rdx + 0x50]
movzx eax, byte [rdx + 0x58]
test al, al
mov qword [rbp + 0x5a8], rdx
jne 0x140031d4b
test rdi, rdi
jne 0x140031d4b
mov qword [rbp + 0x418], 0
xor r14d, r14d
jmp 0x140032bf5
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x408], xmm0
test al, al
jne 0x14003203e
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400353cc
mov qword [rbp + 0x5b8], rdi
mov qword [rbp + 0x5c8], rax
mov rbx, rax
nop
cmp word [rbx], 0
je 0x140032023
mov r12, rbx
mov rcx, 0xfffffffffffffffe
xor edi, edi
nop word cs:[rax + rax]
mov r14, rdi
mov rax, rcx
inc rdi
cmp word [rbx], 0
lea rbx, [rbx + 2]
lea rcx, [rcx + 2]
jne 0x140031da0
cmp r14, 1
je 0x140031d80
test r14, r14
je 0x140035331
mov r13, 0xfffffffffffffffc
xor r15d, r15d
cmp word [r12 + r15*2 + 2], 0x3d
je 0x140031df0
inc r15
add r13, 0xfffffffffffffffe
add rax, 0xfffffffffffffffe
jne 0x140031dd0
jmp 0x140031d80
lea r8, [r15 + 1]
cmp r15, r14
jae 0x140035349
lea rcx, [rbp + 0x4e0]
mov rdx, r12
call fcn.1400276a0
lea rcx, [r15 + 2]
cmp r14, rcx
jb 0x140035363
sub r12, r13
sub rdi, r15
add rdi, 0xfffffffffffffffd
lea rcx, [rbp + 0x480]
mov rdx, r12
mov r8, rdi
call fcn.1400276a0
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x460], rax
movups xmm0, xmmword [rbp + 0x4e0]
movaps xmmword [rbp + 0x450], xmm0
movzx edi, 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]
lea rax, [rbp - 0x10]
movups xmmword [rax - 9], xmm1
movups xmmword [rax - 0x19], xmm0
mov eax, dword [rbp - 0x30]
movzx ecx, word [rbp - 0x2c]
movzx edx, byte [rbp - 0x2a]
mov rsi, qword [rbp - 0x29]
movzx r8d, byte [rbp - 0x21]
movups xmm0, xmmword [rbp - 0x20]
mov dword [rbp + 0x530], eax
mov word [rbp + 0x534], cx
mov byte [rbp + 0x536], dl
mov qword [rbp + 0x537], rsi
mov byte [rbp + 0x53f], r8b
movaps xmmword [rbp + 0x540], xmm0
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x54f], rax
cmp dil, 2
je 0x140032023
lea rsi, [rbp + 0x537]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp + 0x510], xmm1
movaps xmmword [rbp + 0x500], xmm0
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x490], rax
movdqa xmm0, xmmword [rbp + 0x450]
movdqa xmmword [rbp + 0x480], xmm0
mov byte [rbp + 0x498], dil
mov eax, dword [rbp + 0x530]
mov ecx, dword [rbp + 0x533]
lea rdx, [rbp + 0x499]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rbp + 0x488]
mov rcx, qword [rbp + 0x490]
add rcx, rax
mov qword [rbp + 0x4e0], rcx
mov qword [rbp + 0x4e8], rax
mov word [rbp + 0x4f0], 0
lea rcx, [rbp + 0x3e8]
lea r14, [rbp + 0x4e0]
mov rdx, r14
call fcn.140036890
movaps xmm0, xmmword [rbp + 0x450]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x460]
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], dil
mov eax, dword [rbp + 0x530]
mov ecx, dword [rbp + 0x533]
lea rdx, [rbp - 0x10]
mov dword [rdx - 4], ecx
mov dword [rdx - 7], eax
mov rax, qword [rbp + 0x3f8]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rbp + 0x3e8]
movups xmmword [rdx], xmm0
movdqu xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp + 0x490], xmm1
movdqa xmmword [rbp + 0x480], xmm0
mov byte [rbp + 0x5b7], 0
mov rcx, r14
lea rdx, [rbp + 0x400]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x480]
call fcn.140036ae0
cmp byte [rbp + 0x4f8], 2
je 0x140031d80
cmp qword [rbp + 0x4e0], 0
je 0x140031d80
mov r8, qword [rbp + 0x4e8]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140031d80
mov rcx, qword [rbp + 0x5c8]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r12, qword [rbp + 0x5a8]
mov rdi, qword [rbp + 0x5b8]
mov r13, qword [r12 + 0x48]
xor eax, eax
test r13, r13
sete al
cmove rdi, r13
add rax, rax
movq xmm0, qword [r12 + 0x40]
movq xmm7, rax
punpcklqdq xmm7, xmm0
movdqa xmm6, xmmword [0x140053620]
nop word [rax + rax]
test rdi, rdi
je 0x1400329ef
movq rax, xmm7
test rax, rax
je 0x1400320b0
cmp rax, 2
je 0x140035297
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
mov rdx, qword [rbp + 0x5a0]
jmp 0x140032136
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
test rax, rax
je 0x14003212e
lea rcx, [rax - 1]
mov rdx, rax
and rdx, 7
je 0x1400320dc
and rax, 0xfffffffffffffff8
mov r13, qword [r13 + 0x3d8]
dec rdx
jne 0x1400320d0
cmp rcx, 7
jb 0x14003212e
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 0x1400320f0
movdqa xmm7, xmm6
xor edx, edx
xor eax, eax
movzx ecx, word [r13 + 0x3d2]
mov rsi, r13
mov r12, rdx
cmp rdx, rcx
jb 0x140032178
nop dword [rax]
mov rcx, qword [rsi + 0x160]
test rcx, rcx
je 0x140035178
movzx r12d, word [rsi + 0x3d0]
inc rax
mov rsi, rcx
cmp r12w, word [rcx + 0x3d2]
jae 0x140032150
test rax, rax
je 0x140032220
mov r13, qword [rsi + r12*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x14003220e
lea rdx, [rax - 2]
mov rbx, rcx
and rbx, 7
je 0x1400321c5
mov rcx, rbx
nop word cs:[rax + rax]
mov r13, qword [r13 + 0x3d8]
dec rcx
jne 0x1400321b0
not rbx
add rax, rbx
mov rcx, rax
cmp rdx, 7
jb 0x14003220e
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 0x1400321d0
xor eax, eax
mov qword [rbp + 0x5a0], rax
jmp 0x14003222f
lea rax, [r12 + 1]
mov qword [rbp + 0x5a0], rax
mov r13, rsi
dec rdi
imul rax, r12, 0x38
lea r15, [rsi + rax]
add r15, 0x168
shl r12, 5
movq xmm7, xmm7
cmp byte [rsi + r12 + 0x18], 2
jne 0x140032350
mov r14, qword [rbp + 0x408]
test r14, r14
je 0x140032070
mov qword [rbp + 0x5b8], rdi
mov rdi, qword [r15 + 0x28]
mov r15, qword [r15 + 0x30]
mov rax, qword [rbp + 0x400]
lea ecx, [rax + 7]
mov dword [rbp + 0x598], ecx
mov qword [rbp + 0x528], r14
mov qword [rbp + 0x470], rax
mov qword [rbp + 0x5c8], rax
lea rcx, [r14 + 0x168]
movzx eax, word [r14 + 0x3d2]
mov qword [rbp + 0x590], rax
imul rbx, rax, 0x38
mov r12, 0xffffffffffffffff
nop word [rax + rax]
test rbx, rbx
je 0x140032310
lea rsi, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
add rbx, 0xffffffffffffffc8
inc r12
mov rcx, rsi
cmp eax, 3
je 0x1400322c0
cmp eax, 1
jne 0x1400323b0
mov rax, qword [rbp + 0x5c8]
test rax, rax
jne 0x140032327
jmp 0x1400329e3
mov r12, qword [rbp + 0x590]
mov rax, qword [rbp + 0x5c8]
test rax, rax
je 0x1400329e3
mov r14, qword [r14 + r12*8 + 0x3d8]
dec rax
mov qword [rbp + 0x5c8], rax
mov eax, dword [rbp + 0x598]
add al, 7
mov dword [rbp + 0x598], eax
jmp 0x140032299
mov qword [rbp + 0x5b8], rdi
mov r14, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x1400325a8
js 0x140035300
mov rax, qword [0x141072bd0]
test rax, rax
jne 0x140032390
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400352b4
mov qword [0x141072bd0], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x1400325ad
jmp 0x1400352b4
cmp eax, 2
mov rdx, qword [rbp + 0x5c8]
jne 0x14003519d
mov byte [rbp + 0x4e0], 0
test rdx, rdx
je 0x14003277f
mov rax, qword [r14 + r12*8 + 0x3d8]
mov rcx, rdx
dec rcx
mov rdi, qword [rbp + 0x5b8]
je 0x1400324ce
add rdx, 0xfffffffffffffffe
mov rbx, rcx
and rbx, 7
je 0x140032438
movzx ecx, byte [rbp + 0x598]
and ecx, 7
nop word cs:[rax + rax]
movzx edi, word [rax + 0x3d2]
mov rax, qword [rax + rdi*8 + 0x3d8]
dec rcx
jne 0x140032410
not rbx
mov rcx, qword [rbp + 0x5c8]
add rcx, rbx
mov rdi, qword [rbp + 0x5b8]
cmp rdx, 7
jb 0x1400324ce
nop word cs:[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 0x140032450
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x538], rax
mov qword [rbp + 0x540], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x530]
lea r8, [rbp + 0x4e0]
call fcn.140038530
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
mov r8, qword [rbp + 0x528]
mov rsi, qword [rbp + 0x470]
jb 0x1400327cb
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x1400327c9
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140032580
jmp 0x1400327cb
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.140043ac0
movzx eax, byte [r15 + 0x18]
mov qword [rbp + 0x530], rdi
mov qword [rbp + 0x538], rbx
mov qword [rbp + 0x540], rdi
mov byte [rbp + 0x548], al
mov rdx, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
test r14, r14
je 0x140032653
xor ebx, ebx
mov rax, r14
shr rax, 0x3e
sete al
jne 0x14003530a
lea r15, [r14 + r14]
mov bl, al
add rbx, rbx
test r15, r15
je 0x14003265d
mov rax, qword [0x141072bd0]
test rax, rax
mov qword [rbp + 0x5c8], rdx
jne 0x140032631
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400352df
mov qword [0x141072bd0], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov rdx, qword [rbp + 0x5c8]
test rdi, rdi
jne 0x140032669
jmp 0x1400352df
mov edi, 2
xor r15d, r15d
jmp 0x140032669
mov rdi, rbx
test rdi, rdi
je 0x1400352df
add rsi, r12
mov rcx, rdi
mov r8, r15
call fcn.140043ac0
movdqu xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
movdqa xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], rdi
mov qword [rbp], r14
mov r14, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x1400326eb
js 0x1400352ef
mov rax, qword [0x141072bd0]
test rax, rax
jne 0x1400326d0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400352c6
mov qword [0x141072bd0], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x1400326f0
jmp 0x1400352c6
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.140043ac0
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x530], rdi
mov qword [rbp + 0x538], rbx
mov qword [rbp + 0x540], rdi
mov byte [rbp + 0x548], al
mov byte [rbp + 0x5c6], 0
lea rcx, [rbp + 0x480]
lea rdx, [rbp + 0x400]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x530]
call fcn.140036ae0
cmp byte [rbp + 0x498], 2
mov rdi, qword [rbp + 0x5b8]
je 0x140032070
cmp qword [rbp + 0x480], 0
je 0x140032070
mov r8, qword [rbp + 0x488]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032070
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x538], r14
mov qword [rbp + 0x540], r12
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x530]
lea r8, [rbp + 0x4e0]
call fcn.140038530
mov rdi, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x528]
mov rsi, qword [rbp + 0x470]
jmp 0x1400328bd
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov rbx, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x560], rbx
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x550], xmm2
movaps xmmword [rbp + 0x540], xmm1
movaps xmmword [rbp + 0x530], 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 + 0x568]
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 + 0x580]
mov qword [rbp + 0x20], rax
movaps xmm0, xmmword [rbp + 0x570]
movaps xmmword [rbp + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x530]
movaps xmm1, xmmword [rbp + 0x540]
movaps xmm2, xmmword [rbp + 0x550]
movaps xmm3, xmmword [rbp + 0x560]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x580], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x570], xmm0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x560], xmm3
movaps xmmword [rbp + 0x550], xmm2
dec qword [rbp + 0x410]
movaps xmmword [rbp + 0x540], xmm1
movdqa xmmword [rbp + 0x530], xmm0
cmp byte [rbp + 0x4e0], 0
je 0x14003294c
test rsi, rsi
je 0x140035314
mov rax, qword [r8 + 0x3d8]
mov qword [rbp + 0x408], rax
dec rsi
mov qword [rbp + 0x400], rsi
mov qword [rax + 0x160], 0
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [rbp + 0x548], 2
je 0x140032070
mov rsi, qword [rbp + 0x550]
mov rdi, qword [rbp + 0x558]
mov r15, qword [rbp + 0x568]
mov r14, qword [rbp + 0x570]
movzx ebx, byte [rbp + 0x580]
cmp qword [rbp + 0x530], 0
je 0x14003299c
mov r8, qword [rbp + 0x538]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x1400329b3
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp bl, 2
mov rdi, qword [rbp + 0x5b8]
je 0x140032070
test r15, r15
je 0x140032070
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032070
mov rdi, qword [rbp + 0x5b8]
jmp 0x140032070
mov rax, qword [rbp + 0x410]
mov qword [rbp + 0x430], rax
movdqu xmm0, xmmword [rbp + 0x400]
movdqu xmmword [rbp + 0x420], xmm0
mov qword [rbp + 0x418], 1
mov rcx, qword [0x141072bd0]
test rcx, rcx
jne 0x140032a3d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035377
mov rcx, rax
mov qword [0x141072bd0], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140035377
mov dword [rax], 0x48544150
mov qword [rbp + 0x530], 4
mov qword [rbp + 0x538], rax
mov qword [rbp + 0x540], 4
mov byte [rbp + 0x548], 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.140036890
movups xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
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 r13, qword [rbp + 0x428]
test r13, r13
je 0x140032bb8
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x5c8], rax
lea rcx, [r13 + 0x168]
movzx eax, word [r13 + 0x3d2]
mov qword [rbp + 0x5b8], rax
imul r15, rax, 0x38
lea rdi, [r13 - 0x10]
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
test r15, r15
je 0x140032b60
lea r12, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
add r15, 0xffffffffffffffc8
add rdi, 0x20
inc r14
mov rcx, r12
cmp eax, 3
je 0x140032b20
cmp eax, 1
jne 0x140032b8c
jmp 0x140032b67
mov r14, qword [rbp + 0x5b8]
mov rax, qword [rbp + 0x5c8]
sub rax, 1
jb 0x14003394e
mov qword [rbp + 0x5c8], rax
mov r13, qword [r13 + r14*8 + 0x3d8]
jmp 0x140032af3
cmp eax, 2
jne 0x140035211
test r13, r13
je 0x140032bb8
mov r14, qword [rdi - 8]
mov rax, qword [rdi]
mov qword [rbp + 0x598], rax
mov r12, qword [rbp + 0x5a8]
cmp qword [rbp - 0x30], 0
jne 0x140032bc9
jmp 0x140032bdc
xor r14d, r14d
mov r12, qword [rbp + 0x5a8]
cmp qword [rbp - 0x30], 0
je 0x140032bdc
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp - 0x10], 0
je 0x140032bf5
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140032c5d
mov rbx, qword [r12 + 0x28]
cmp rcx, 4
jae 0x140032c13
lea rdx, [0x140038d30]
jmp 0x140032c2b
cmp dword [rbx], 0x5c3f5c5c
lea rax, [0x140038d20]
lea rdx, [0x140038d30]
cmove rdx, rax
mov qword [rbp + 0x5c8], rcx
mov qword [rbp + 0x5b8], rbx
movzx ecx, byte [rcx + rbx - 1]
mov byte [rbp + 0x5d7], 1
call rdx
test al, al
mov r12, qword [rbp + 0x5a8]
mov r15, qword [rbp + 0x5c8]
je 0x140032e16
lea rdi, [0x141061840]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], 0
mov rbx, qword [rbp + 0x488]
test rbx, rbx
je 0x1400348d4
mov qword [rbp + 0x5b8], rdi
mov rdi, qword [rbp + 0x490]
cmp rdi, 5
mov qword [rbp + 0x598], rbx
jb case.0x14003328d.68
cmp word [rbx + rdi*2 - 0xa], 0x2e
jne case.0x14003328d.68
cmp word [rbx + rdi*2 - 2], 0
je 0x14003326e
mov rbx, qword [r12 + 0x28]
mov rdi, qword [r12 + 0x30]
mov rsi, qword [r12 + 0x98]
mov r15, qword [r12 + 0xa0]
mov r14b, byte [r12 + 0xad]
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x538], 2
mov qword [rbp + 0x540], 0
lea rcx, [rbp + 0x530]
xor edx, edx
call fcn.1400268e0
mov rax, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x540]
mov word [rax + rcx*2], 0x22
inc rcx
mov qword [rbp + 0x540], rcx
add rdi, rbx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140026780
mov rdx, qword [rbp + 0x540]
cmp rdx, qword [rbp + 0x530]
jne 0x140032d68
lea rcx, [rbp + 0x530]
call fcn.1400268e0
mov rdx, qword [rbp + 0x540]
mov rax, qword [rbp + 0x538]
mov word [rax + rdx*2], 0x22
inc rdx
mov qword [rbp + 0x540], rdx
lea rax, [r15 + r15*4]
lea rbx, [rsi + rax*8]
lea rdi, [rbp + 0x530]
nop
cmp rsi, rbx
je 0x140032e9d
mov rdx, qword [rbp + 0x540]
cmp rdx, qword [rbp + 0x530]
jne 0x140032db8
mov rcx, rdi
call fcn.1400268e0
mov rdx, qword [rbp + 0x540]
mov rax, qword [rbp + 0x538]
mov word [rax + rdx*2], 0x20
inc rdx
mov qword [rbp + 0x540], rdx
mov rcx, rdi
mov rdx, rsi
mov r8d, r14d
call fcn.140039560
add rsi, 0x28
test rax, rax
je 0x140032d90
mov qword [rbp + 0x5c8], rax
cmp qword [rbp + 0x530], 0
je 0x140033029
mov r8, qword [rbp + 0x538]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033029
cmp r15, 3
jbe 0x140032fc8
mov r13, qword [rbp + 0x5b8]
movzx eax, byte [r15 + r13 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140032fd3
movzx eax, byte [r13 + r15 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140032fd3
movzx eax, byte [r13 + r15 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140032fd3
movzx eax, byte [r13 + r15 - 1]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
sete cl
jmp 0x140032fd5
mov rbx, qword [rbp + 0x530]
mov rdi, qword [rbp + 0x538]
test rdi, rdi
je 0x140033022
mov rsi, qword [rbp + 0x540]
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 0x5c8], rax
mov qword [rbp + 0x450], rbx
mov qword [rbp + 0x458], rdi
mov qword [rbp + 0x460], rsi
cmp rsi, rbx
jne 0x140032f15
mov byte [rbp + 0x5d4], 1
lea rcx, [rbp + 0x450]
mov rdx, rsi
call fcn.1400268e0
mov rdi, qword [rbp + 0x458]
mov rsi, qword [rbp + 0x460]
mov word [rdi + rsi*2], 0
inc rsi
mov qword [rbp + 0x460], rsi
cmp byte [r12 + 0xac], 0
mov eax, 0x400
mov r13d, 0x608
cmove r13d, eax
or r13d, dword [r12 + 0xa8]
mov eax, 2
xor ecx, ecx
cmp qword [rbp + 0x418], 1
mov r14d, 2
mov r15d, 0
jne 0x14003432e
mov rsi, qword [rbp + 0x420]
mov rdi, qword [rbp + 0x428]
mov rbx, qword [rbp + 0x430]
mov qword [rbp + 0x3e8], rsi
mov qword [rbp + 0x3f0], rdi
mov qword [rbp + 0x3f8], rbx
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
test rbx, rbx
je 0x140033448
mov r15d, 2
xor r12d, r12d
jmp 0x14003347c
xor ecx, ecx
mov r13, qword [rbp + 0x5b8]
jmp 0x140032fd5
xor ecx, ecx
lea r8, [r15 + r13]
xor eax, eax
nop dword [rax + rax]
cmp r15, rax
je 0x14003306d
movzx edx, byte [r13 + rax]
cmp edx, 0x2f
je 0x140032ffc
inc rax
cmp edx, 0x5c
jne 0x140032fe0
test cl, cl
je 0x14003312b
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
mov rdx, r13
mov r8, r15
call fcn.14002cb00
jmp 0x1400348b6
mov qword [rbp + 0x5c8], rbx
mov rcx, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x598]
mov rax, qword [rbp + 0x478]
mov rdx, qword [rbp + 0x5c8]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
test rcx, rcx
je 0x1400348e6
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400348e6
xor ebx, ebx
mov rcx, r13
jmp 0x14003308b
xor ebx, ebx
test dx, dx
je 0x140033262
mov dx, 1
test bx, bx
jne 0x140033080
cmp rcx, r8
je 0x1400338b4
movzx eax, byte [rcx]
movzx esi, al
test sil, sil
js 0x1400330ad
inc rcx
jmp 0x1400330fe
mov ebx, esi
and ebx, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp sil, 0xdf
jbe 0x1400330f3
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp al, 0xf0
jb 0x140033107
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 0x1400330fe
jmp 0x140033118
add rcx, 2
shl ebx, 6
or ebx, edi
mov esi, ebx
xor ebx, ebx
mov edx, esi
jmp 0x140033082
add rcx, 3
shl ebx, 0xc
or esi, ebx
cmp esi, 0xffff
jbe 0x1400330fe
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x140033082
xor esi, esi
test r15, r15
setns bl
js 0x140035474
mov rcx, qword [0x141072bd0]
test rcx, rcx
jne 0x14003315e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003545d
mov rcx, rax
mov qword [0x141072bd0], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14003545d
mov rdi, rax
mov rcx, rax
mov rdx, r13
mov r8, r15
call fcn.140043ac0
mov qword [rbp + 0x530], r15
mov qword [rbp + 0x538], rdi
mov qword [rbp + 0x540], r15
mov byte [rbp + 0x548], 0
mov rax, qword [rbp + 0x540]
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 0x548]
mov byte [rbp - 0x18], al
mov eax, dword [rbp + 0x549]
mov dword [rbp - 0x17], eax
movzx eax, word [rbp + 0x54d]
mov word [rbp - 0x13], ax
movzx eax, byte [rbp + 0x54f]
mov byte [rbp - 0x11], al
mov rax, qword [rbp + 0x530]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp - 0x28], rax
lea rdx, [0x141061858]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.14002c230
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x540], xmm1
movdqa xmmword [rbp + 0x530], xmm0
mov r15, qword [rbp + 0x538]
mov r14, qword [rbp + 0x540]
mov byte [rbp + 0x5b6], 1
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, r14
call fcn.140038d40
cmp qword [rbp - 0x28], 0
je 0x14003340e
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x490], rax
movdqu xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x480], xmm0
jmp 0x14003489a
lea rdi, [0x141061808]
jmp 0x140032c64
movzx eax, word [rbx + rdi*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x14003328d.68
lea rdx, [0x140036790]
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 0x1400332a9
movzx ecx, word [rbx + rdi*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x1400332d7
cmp ax, 0x43
jne case.0x14003328d.68
movzx eax, word [rbx + rdi*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x14003328d.68
movzx eax, word [rbx + rdi*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
jne case.0x14003328d.68
mov qword [rbp + 0x590], rdi
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x538], 2
mov qword [rbp + 0x540], 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 0x14003333e
jmp 0x140033350
jae 0x1400339d7
cmp rax, 0x201
jae 0x140033350
lea r13, [rbp - 0x30]
mov r12d, 0x200
mov rbx, rax
jmp 0x1400333aa
sub rax, rsi
sub r14, rsi
cmp r14, rax
jae 0x140033382
lea rcx, [rbp + 0x530]
mov rdx, rsi
mov r8, rax
call fcn.1400525b0
mov r15, qword [rbp + 0x530]
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x5c8], rax
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovb rsi, r15
mov qword [rbp + 0x540], 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 0x1400333d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140033a17
mov eax, edi
cmp rbx, rax
jne 0x140033330
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400353af
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov rax, rbx
cmp rax, 0x201
jae 0x140033350
jmp 0x14003333e
mov rcx, r15
mov rdx, r14
call fcn.140030ef0
test rax, rax
je 0x140034888
cmp rdx, 2
jne 0x140033968
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x140033968
mov r8d, 2
xor ecx, ecx
jmp 0x1400339ae
mov byte [rbp + 0x5d3], 1
lea rcx, [rbp + 0x500]
xor edx, edx
call fcn.1400268e0
mov r15, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r15 + r12*2], 0
inc r12
mov qword [rbp + 0x510], 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 + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140031940
mov rax, qword [rbp + 0x538]
test rax, rax
je 0x1400342c7
mov rcx, qword [rbp + 0x540]
imul rdx, rcx, 0x38
cmp byte [rax + rdx + 0x180], 2
je 0x1400342c7
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 + 0x528], rbx
mov rbx, qword [rax + rdx + 0x190]
mov qword [rbp + 0x590], rbx
mov r14, 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 0x14003355b
xor esi, esi
test di, di
je 0x14003385a
mov di, 1
test si, si
jne 0x140033550
cmp rdx, r10
je 0x1400335f6
movzx eax, byte [rdx]
movzx ebx, al
test bl, bl
js 0x14003357c
inc rdx
jmp 0x1400335cc
mov esi, ebx
and esi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x1400335c1
movzx ebx, byte [rdx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x1400335d2
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 0x1400335cc
jmp 0x1400335e3
add rdx, 2
shl esi, 6
or esi, ecx
mov ebx, esi
xor esi, esi
mov edi, ebx
jmp 0x140033552
add rdx, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x1400335cc
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x140033552
test r9, r9
je 0x14003360a
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x500]
sub rax, r12
cmp rax, r14
jae 0x140033639
lea rcx, [rbp + 0x500]
mov rdx, r12
mov r8, r14
call fcn.1400525b0
mov r15, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov rsi, qword [rbp + 0x590]
lea r8, [r14 + r14]
lea rcx, [r15 + r12*2]
mov rdx, rsi
call fcn.140043ac0
add r12, r14
mov qword [rbp + 0x510], r12
cmp qword [rbp + 0x528], 0
je 0x140033676
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r12, qword [rbp + 0x500]
jne 0x1400336a3
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.1400268e0
mov r15, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r15 + r12*2], 0x3d
inc r12
mov qword [rbp + 0x510], r12
mov r12, qword [rbp + 0x480]
mov r14, qword [rbp + 0x488]
mov r9, qword [rbp + 0x490]
movzx r8d, byte [rbp + 0x498]
lea r10, [r14 + r9]
xor esi, esi
mov rdi, r14
jmp 0x1400336eb
xor esi, esi
test cx, cx
je 0x1400338e9
mov cx, 1
test si, si
jne 0x1400336e0
cmp rdi, r10
je 0x140033786
movzx eax, byte [rdi]
movzx ebx, al
test bl, bl
js 0x14003370c
inc rdi
jmp 0x14003375c
mov esi, ebx
and esi, 0x1f
movzx edx, byte [rdi + 1]
and edx, 0x3f
cmp bl, 0xdf
jbe 0x140033751
movzx ebx, byte [rdi + 2]
shl edx, 6
and ebx, 0x3f
or ebx, edx
cmp al, 0xf0
jb 0x140033762
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 0x14003375c
jmp 0x140033773
add rdi, 2
shl esi, 6
or esi, edx
mov ebx, esi
xor esi, esi
mov ecx, ebx
jmp 0x1400336e2
add rdi, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x14003375c
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x1400336e2
cmp r8b, 2
je 0x140035195
lea rcx, [rbp + 0x499]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
lea rdx, [rbp + 0x549]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov qword [rbp + 0x530], r12
mov qword [rbp + 0x538], r14
mov qword [rbp + 0x540], r9
mov byte [rbp + 0x548], r8b
mov qword [rbp + 0x4e0], r10
mov qword [rbp + 0x4e8], r14
mov word [rbp + 0x4f0], 0
lea rcx, [rbp + 0x500]
lea rdx, [rbp + 0x4e0]
call fcn.140026780
test r12, r12
je 0x140033805
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rbp + 0x510]
cmp r12, qword [rbp + 0x500]
jne 0x140033832
mov byte [rbp + 0x5c7], 0
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.1400268e0
mov r12, qword [rbp + 0x510]
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
mov r15, qword [rbp + 0x508]
mov word [r15 + r12*2], 0
inc r12
mov qword [rbp + 0x510], r12
jmp 0x1400334b2
test r9, r9
je 0x14003386e
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x480], 0
mov rsi, qword [rbp + 0x590]
je 0x140033895
mov r8, qword [rbp + 0x488]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r15, [0x141061808]
cmp qword [rbp + 0x528], 0
je 0x140033907
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rsi
jmp 0x140033901
cmp r15, 0xf
ja 0x1400339b3
xor eax, eax
mov qword [rbp + 0x5a0], rax
xor eax, eax
mov rcx, qword [rbp + 0x598]
cmp byte [r13 + rax], 0x2e
je 0x140033a2d
inc rax
cmp r15, rax
jne 0x1400338d0
jmp 0x140033a39
lea r15, [0x141061808]
test r12, r12
je 0x140033907
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp - 0x30]
call fcn.140039b00
cmp qword [rbp + 0x500], 0
je 0x140033937
mov r8, qword [rbp + 0x508]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x478]
mov qword [rax], r15
mov qword [rax + 0x10], 2
jmp 0x140034673
mov r12, qword [rbp + 0x5a8]
xor r14d, r14d
cmp qword [rbp - 0x30], 0
jne 0x140032bc9
jmp 0x140032bdc
xor esi, esi
mov rcx, rax
nop dword [rax]
cmp rdx, rsi
je 0x140033a0d
mov rbx, rsi
lea rdi, [rcx - 1]
inc rsi
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, rdi
jne 0x140033970
mov r8, rdx
sub r8, rsi
lea rcx, [r8 + 1]
cmp rdx, rcx
jb 0x1400354ad
cmp rdx, rsi
jne 0x140034856
xor ecx, ecx
mov r8, rdx
jmp 0x140034860
mov byte [rbp + 0x5d7], 1
mov cl, 0x2e
mov rdx, r13
mov r8, r15
call fcn.1400178a0
mov qword [rbp + 0x5a0], rax
mov rcx, qword [rbp + 0x598]
jmp 0x140033a39
cmp r12, rax
jb 0x140035499
test edi, edi
je 0x140034bbb
mov rsi, rax
lea rbx, [rax + rax]
mov edx, 2
mov rcx, rbx
call fcn.140011e00
test rax, rax
je 0x1400354bb
mov r14, rax
jmp 0x140034bc6
mov rcx, rax
xor eax, eax
jmp 0x140034860
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
xor r14d, r14d
jmp 0x140034bd7
mov eax, 1
mov qword [rbp + 0x5a0], rax
test r14, r14
je 0x140033a88
add rcx, r14
mov qword [rbp + 0x480], rcx
mov qword [rbp + 0x488], r14
mov word [rbp + 0x490], 0
mov byte [rbp + 0x498], 1
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x530]
lea rdx, [rbp + 0x480]
call fcn.14002b530
movzx eax, byte [rbp + 0x548]
cmp al, 2
jne 0x140033d8f
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.14002be60
cmp byte [rbp + 0x498], 2
jne 0x140033abc
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.1400275c0
jmp 0x140033bae
movdqu xmm0, xmmword [rbp + 0x480]
movups xmm1, xmmword [rbp + 0x490]
movdqa xmmword [rbp + 0x530], xmm0
movaps xmmword [rbp + 0x540], xmm1
mov rcx, qword [rbp + 0x538]
mov rsi, qword [rbp + 0x540]
mov byte [rbp + 0x5b5], 1
mov rdx, rsi
call fcn.14002edc0
test rax, rax
mov r8, qword [rbp + 0x5c8]
mov rbx, qword [rbp + 0x5b8]
je 0x140033b16
cmp rsi, rdx
jb 0x140033b16
mov qword [rbp + 0x540], rdx
movdqa xmm0, xmmword [rbp + 0x530]
mov rax, qword [rbp + 0x540]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x548]
mov qword [rbp - 0x18], rax
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.14002d270
mov r12, qword [rbp + 0x5a8]
cmp qword [rbp + 0x5a0], 1
je 0x140033b5f
lea rcx, [rbp - 0x30]
call fcn.140031050
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038d40
cmp qword [rbp - 0x30], 0
je 0x140033b8f
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x4e8]
test rbx, rbx
je 0x140033bae
mov rdi, qword [rbp + 0x4e0]
mov rsi, qword [rbp + 0x4f0]
jmp 0x140034b91
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x598], rax
xor r13d, r13d
xor r12d, r12d
xor ebx, ebx
cmp r8, 0x201
jb 0x140033c0f
jmp 0x140033c20
jae 0x140033cde
cmp r8, 0x201
jae 0x140033c20
lea rsi, [rbp - 0x30]
mov r14d, 0x200
mov rdi, r8
jmp 0x140033c77
sub r8, rbx
sub r12, rbx
cmp r12, r8
jae 0x140033c4f
lea rcx, [rbp + 0x500]
mov rdx, rbx
call fcn.1400525b0
mov r13, qword [rbp + 0x500]
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x598], rax
mov eax, 0xffffffff
cmp r13, rax
mov ebx, 0xffffffff
cmovb rbx, r13
mov qword [rbp + 0x510], rbx
mov r12, r13
mov rsi, qword [rbp + 0x598]
mov r14, rbx
mov rdi, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
jne 0x140033c9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003413a
mov r8d, r15d
cmp rdi, r8
jne 0x140033c00
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140035392
add rdi, rdi
mov eax, 0xffffffff
cmp rdi, rax
cmovae rdi, rax
mov r8, rdi
cmp r8, 0x201
jae 0x140033c20
jmp 0x140033c0f
cmp r14, r8
jb 0x140035482
lea rcx, [rbp + 0x530]
mov rdx, rsi
call fcn.1400276a0
lea rcx, [rbp + 0x530]
mov rdx, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x5c8]
call fcn.14002d270
cmp qword [rbp + 0x5a0], 1
je 0x140033d26
lea rcx, [rbp + 0x530]
call fcn.140031050
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038d40
cmp qword [rbp + 0x530], 0
je 0x140033d5f
mov rcx, qword [0x141072bd0]
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 0x14003415d
lea r13, [rbp + 0x4e0]
jmp 0x140033dbd
mov r8, qword [rbp + 0x4e8]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [rbp + 0x548]
cmp al, 2
je 0x140033a88
mov rcx, qword [rbp + 0x530]
mov r8, qword [rbp + 0x538]
mov rdx, qword [rbp + 0x540]
test rdx, rdx
jne 0x14003402a
test rcx, rcx
je 0x140033def
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx r14d, byte [rbp + 0x498]
mov byte [rbp + 0x498], 0
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4e8], 2
mov qword [rbp + 0x4f0], 0
mov r15, qword [rbp + 0x480]
mov r9d, 2
movzx edx, word [rbp + 0x490]
xor r8d, r8d
mov rcx, qword [rbp + 0x488]
mov r12d, edx
xor esi, esi
test r12w, r12w
jne 0x140033e70
jmp 0x140033e8b
mov word [r9 + r8*2], r12w
inc r8
mov qword [rbp + 0x4f0], r8
movzx edx, word [rbp + 0x490]
mov rcx, qword [rbp + 0x488]
mov r12d, edi
test r12w, r12w
je 0x140033e8b
xor edx, edx
xor edi, edi
cmp r12w, 0x22
jne 0x140033eac
not sil
and sil, 1
mov r12d, edi
test r12w, r12w
jne 0x140033e70
cmp rcx, r15
je 0x140033ff0
movzx ebx, byte [rcx]
movzx r12d, bl
test r12b, r12b
js 0x140033ef0
inc rcx
xor edi, edi
cmp r12w, 0x22
je 0x140033e7b
movzx eax, r12w
cmp eax, 0x3b
jne 0x140033fb1
mov word [rbp + 0x490], dx
mov qword [rbp + 0x488], rcx
mov r12w, 0x3b
test sil, 1
je 0x1400340ef
cmp r8, qword [rbp + 0x4e0]
je 0x140033fcc
jmp 0x140033e4a
mov edi, r12d
and edi, 0x1f
movzx eax, byte [rcx + 1]
and eax, 0x3f
cmp r12b, 0xdf
jbe 0x140033f43
movzx r12d, byte [rcx + 2]
shl eax, 6
and r12d, 0x3f
or r12d, eax
cmp bl, 0xf0
jb 0x140033f61
movzx eax, byte [rcx + 3]
add rcx, 4
and edi, 7
shl edi, 0x12
shl r12d, 6
and eax, 0x3f
or eax, r12d
or eax, edi
mov r12d, eax
cmp r12d, 0xffff
jbe 0x140033e72
jmp 0x140033f78
add rcx, 2
shl edi, 6
or edi, eax
mov r12d, edi
xor edi, edi
cmp r12w, 0x22
je 0x140033e7b
jmp 0x140033eac
add rcx, 3
shl edi, 0xc
or r12d, edi
cmp r12d, 0xffff
jbe 0x140033e72
add r12d, 0xffff0000
mov eax, r12d
shr eax, 0xa
or eax, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov edx, r12d
mov edi, r12d
mov r12d, eax
cmp r12w, 0x22
je 0x140033e7b
jmp 0x140033eac
mov word [rbp + 0x490], dx
mov qword [rbp + 0x488], rcx
cmp r8, qword [rbp + 0x4e0]
jne 0x140033e4a
mov rcx, r13
mov rdx, r8
call fcn.1400268e0
mov r9, qword [rbp + 0x4e8]
mov r8, qword [rbp + 0x4f0]
jmp 0x140033e4a
mov word [rbp + 0x490], dx
mov qword [rbp + 0x488], r15
test r14b, r14b
jne 0x1400340ff
test r8, r8
jne 0x1400340ff
mov byte [rbp + 0x548], 2
cmp qword [rbp + 0x4e0], 0
jne 0x140033d98
jmp 0x140033dae
lea rdi, [rbp + 0x549]
mov ebx, dword [rdi]
mov edi, dword [rdi + 3]
mov dword [rbp + 0x503], edi
mov dword [rbp + 0x500], ebx
mov ebx, dword [rbp + 0x500]
mov edi, dword [rbp + 0x503]
lea rsi, [rbp - 0x17]
mov dword [rsi + 3], edi
mov dword [rsi], ebx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x18], al
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x5c8]
call fcn.14002d270
cmp qword [rbp + 0x5a0], 1
je 0x140034090
lea rcx, [rbp - 0x30]
call fcn.140031050
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x530]
mov rdx, rbx
call fcn.140038d40
cmp qword [rbp - 0x30], 0
je 0x1400340c0
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x538]
test rbx, rbx
jne 0x140035165
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x530]
lea rdx, [rbp + 0x480]
call fcn.14002b530
jmp 0x140033dae
mov byte [rbp + 0x498], 1
test r14b, r14b
je 0x140034007
mov rdx, qword [rbp + 0x4e8]
lea rcx, [rbp - 0x30]
call fcn.1400276a0
movdqu xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x540], xmm1
movdqa xmmword [rbp + 0x530], xmm0
cmp qword [rbp + 0x4e0], 0
jne 0x140033d98
jmp 0x140033dae
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
test r13, r13
je 0x140034178
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x598]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x490]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034b7c
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.140038e90
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x598], rax
xor r12d, r12d
xor r13d, r13d
xor ebx, ebx
cmp r8, 0x201
jb 0x1400341fa
jmp 0x140034209
jae 0x1400347a5
cmp r8, 0x201
jae 0x140034209
lea rsi, [rbp - 0x30]
mov r14d, 0x200
mov rdi, r8
jmp 0x140034260
sub r8, rbx
sub r13, rbx
cmp r13, r8
jae 0x140034238
lea rcx, [rbp + 0x500]
mov rdx, rbx
call fcn.1400525b0
mov r12, qword [rbp + 0x500]
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x598], rax
mov eax, 0xffffffff
cmp r12, rax
mov ebx, 0xffffffff
cmovb rbx, r12
mov qword [rbp + 0x510], rbx
mov r13, r12
mov rsi, qword [rbp + 0x598]
mov r14, rbx
mov rdi, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov r15d, eax
test eax, eax
jne 0x140034288
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140034968
mov r8d, r15d
cmp rdi, r8
jne 0x1400341eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140035440
add rdi, rdi
mov eax, 0xffffffff
cmp rdi, rax
cmovae rdi, rax
mov r8, rdi
cmp r8, 0x201
jae 0x140034209
jmp 0x1400341fa
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp - 0x30]
call fcn.140039b00
cmp r12, qword [rbp + 0x500]
jne 0x140034304
mov byte [rbp + 0x5d3], 0
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.1400268e0
mov r15, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r15 + r12*2], 0
mov r14, qword [rbp + 0x508]
test r14, r14
mov eax, 2
je 0x140033937
mov rcx, qword [rbp + 0x500]
mov r12, qword [rbp + 0x5a8]
mov qword [rbp + 0x590], rcx
xor ecx, ecx
cmp byte [r12 + 0x18], 2
mov esi, 0
je 0x1400344a9
mov rax, qword [rbp + 0x5a8]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
add r9, r8
xor edi, edi
mov rdx, r8
jmp 0x14003437b
xor edi, edi
test bx, bx
je 0x14003441b
mov bx, 1
test di, di
jne 0x140034370
cmp rdx, r9
je 0x140034440
movzx eax, byte [rdx]
movzx esi, al
test sil, sil
js 0x14003439d
inc rdx
jmp 0x1400343ee
mov edi, esi
and edi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp sil, 0xdf
jbe 0x1400343e3
movzx esi, byte [rdx + 2]
shl ecx, 6
and esi, 0x3f
or esi, ecx
cmp al, 0xf0
jb 0x1400343f7
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 0x1400343ee
jmp 0x140034408
add rdx, 2
shl edi, 6
or edi, ecx
mov esi, edi
xor edi, edi
mov ebx, esi
jmp 0x140034372
add rdx, 3
shl edi, 0xc
or esi, edi
cmp esi, 0xffff
jbe 0x1400343ee
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x140034372
lea rax, [0x141061808]
mov rcx, qword [rbp + 0x478]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rsi, qword [rbp + 0x590]
jmp 0x14003465c
mov qword [rbp + 0x528], r14
mov qword [rbp - 0x30], r9
mov qword [rbp - 0x28], r8
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140036890
mov rcx, qword [rbp + 0x530]
mov rdx, qword [rbp + 0x540]
cmp rdx, rcx
jne 0x140034492
lea rcx, [rbp + 0x530]
call fcn.1400268e0
mov rcx, qword [rbp + 0x530]
mov rdx, qword [rbp + 0x540]
mov rsi, qword [rbp + 0x538]
mov word [rsi + rdx*2], 0
mov rax, rsi
mov r14, qword [rbp + 0x528]
mov qword [rbp + 0x470], rcx
mov qword [rbp + 0x438], rax
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x4e0], xmm0
mov qword [rbp + 0x4f0], 0
lea rdi, [0x141072be0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x141072bb0]
shl rax, 1
test rax, rax
mov qword [rbp + 0x528], r14
mov qword [rbp + 0x3e0], rsi
jne 0x140034ed8
xor eax, eax
mov bl, byte [0x141072be8]
xor ecx, ecx
test bl, bl
setne cl
mov qword [rbp + 0x488], rdi
mov dword [rbp + 0x444], eax
mov byte [rbp + 0x490], al
mov qword [rbp + 0x480], rcx
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x540], 0
mov rcx, qword [rbp + 0x5a8]
lea r14, [rcx + 0x70]
mov r12, qword [rcx + 0x70]
xor eax, eax
cmp r12, 5
cmove r14, rax
mov qword [rbp + 0x550], 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 + 0x530]
mov r8d, 0xfffffff6
call fcn.140039bd0
test rax, rax
je 0x1400346bc
mov rax, qword [rbp + 0x478]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov r14, qword [rbp + 0x528]
mov rsi, qword [rbp + 0x590]
mov rdi, qword [rbp + 0x470]
cmp qword [rbp + 0x530], 0
je 0x1400345e7
mov rcx, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x540], 0
je 0x1400345fe
mov rcx, qword [rbp + 0x548]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x550], 0
je 0x140034615
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
cmp byte [rbp + 0x444], 0
jne 0x140034634
mov rax, qword [0x141072bb0]
shl rax, 1
test rax, rax
jne 0x14003511e
lea rcx, [0x141072be0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rdi, rdi
je 0x14003465c
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x438]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140034673
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x450], 0
je 0x140034693
mov r8, qword [rbp + 0x458]
mov rcx, qword [0x141072bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x5c8], 0
je 0x140034946
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034946
mov qword [rbp + 0x5a8], rdx
lea r9, [rbp + 0x540]
add r14, 8
cmp r12, 5
mov ecx, 2
cmovne rcx, r12
lea r12, [rbp + 0x3d8]
cmove r14, r12
mov rdx, qword [r14]
mov r8d, 0xfffffff5
call fcn.140039bd0
test rax, rax
je 0x140034714
mov rax, qword [rbp + 0x478]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov r14, qword [rbp + 0x528]
jmp 0x140034777
mov qword [rbp + 0x448], rdx
add rdi, 8
cmp rsi, 5
mov ecx, 2
cmovne rcx, rsi
lea r9, [rbp + 0x550]
cmove rdi, r12
mov rdx, qword [rdi]
mov r8d, 0xfffffff4
call fcn.140039bd0
mov rdi, rdx
test rax, rax
je 0x140034ee4
mov rax, qword [rbp + 0x478]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
mov r14, qword [rbp + 0x528]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rbp + 0x590]
mov rdi, qword [rbp + 0x470]
mov rcx, qword [rbp + 0x5a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x530], 0
jne 0x1400345da
jmp 0x1400345e7
cmp r14, r8
jb 0x1400354ca
lea rcx, [rbp + 0x530]
mov rdx, rsi
call fcn.1400276a0
lea rcx, [rbp + 0x530]
mov rdx, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x5c8]
call fcn.14002d270
cmp qword [rbp + 0x5a0], 1
je 0x1400347ed
lea rcx, [rbp + 0x530]
call fcn.140031050
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
call fcn.140038d40
cmp qword [rbp + 0x530], 0
je 0x140034826
mov rcx, qword [0x141072bd0]
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 0x14003498b
lea rcx, [rdi + rdx]
inc rcx
mov rdx, rbx
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x140034888
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, r15
cmp r14, rcx
jb 0x140034888
mov qword [rbp + 0x540], rcx
mov r14, rcx
lea rcx, [rbp + 0x480]
mov rdx, r15
mov r8, r14
call fcn.14002cb00
cmp qword [rbp + 0x530], 0
je 0x1400348b6
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbp + 0x480]
mov r12, qword [rbp + 0x5a8]
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x140032c86
mov rax, qword [rbp + 0x478]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x418], 0
je 0x140034946
mov rcx, qword [rbp + 0x428]
test rcx, rcx
je 0x140034926
mov rdx, qword [rbp + 0x420]
mov rax, qword [rbp + 0x430]
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 0x140034935
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.140039b00
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
test r12, r12
je 0x1400349a6
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x598]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x490]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034b7c
mov byte [rbp + 0x5d7], 1
lea rcx, [rbp + 0x480]
call fcn.140038e90
mov byte [rbp + 0x5d7], 1
lea rdx, [0x1410608bc]
lea rcx, [rbp + 0x4e0]
mov r8d, 4
call fcn.1400293b0
cmp byte [rbp + 0x4f8], 2
je 0x14003509d
movdqu xmm0, xmmword [rbp + 0x4e0]
movups xmm1, xmmword [rbp + 0x4f0]
movdqa xmmword [rbp + 0x480], xmm0
movaps xmmword [rbp + 0x490], xmm1
mov r14, qword [rbp + 0x488]
mov rax, qword [rbp + 0x490]
add rax, r14
mov qword [rbp + 0x530], rax
mov qword [rbp + 0x538], r14
mov word [rbp + 0x540], 0
mov byte [rbp + 0x548], 1
lea r13, [rbp - 0x17]
lea rdi, [rbp - 0x30]
lea r15, [rbp + 0x530]
mov r12, qword [sym.imp.KERNEL32.dll_HeapFree]
lea rsi, [rbp + 0x500]
mov rcx, rdi
mov rdx, r15
call fcn.14002b530
jmp 0x140034a82
mov rcx, rdi
mov rdx, r15
call fcn.14002b530
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x140035081
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140034ab2
test rcx, rcx
je 0x140034a77
mov rcx, qword [0x141072bd0]
xor edx, edx
call r12
jmp 0x140034a77
mov ebx, dword [r13]
mov r9, rsi
mov esi, dword [r13 + 3]
mov dword [rbp + 0x3eb], esi
mov dword [rbp + 0x3e8], ebx
mov ebx, dword [rbp + 0x3e8]
mov esi, dword [rbp + 0x3eb]
mov dword [r13 + 3], esi
mov rsi, r9
mov dword [r13], ebx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x18], al
mov rcx, rdi
mov rdx, qword [rbp + 0x5b8]
mov r8, qword [rbp + 0x5c8]
call fcn.14002d270
cmp qword [rbp + 0x5a0], 1
je 0x140034b17
mov rcx, rdi
call fcn.140031050
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
mov rcx, rsi
mov rdx, rbx
call fcn.140038d40
cmp qword [rbp - 0x30], 0
je 0x140034b40
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rbx
call r12
mov rbx, qword [rbp + 0x508]
test rbx, rbx
je 0x140034a6a
mov rdi, qword [rbp + 0x500]
mov rsi, qword [rbp + 0x510]
cmp qword [rbp + 0x480], 0
je 0x140034b8a
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034b8a
mov rdi, qword [rbp + 0x488]
mov rsi, qword [rbp + 0x498]
mov r12, qword [rbp + 0x5a8]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], rbx
mov qword [rbp + 0x490], rsi
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x140032c86
jmp 0x1400348d4
mov rsi, rax
mov r14d, 2
xor ebx, ebx
mov rcx, r14
mov rdx, r13
mov r8, rbx
call fcn.140043ac0
mov rax, rsi
test r15, r15
je 0x140034bf8
mov rcx, qword [0x141072bd0]
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 0x140034ecc
mov qword [rbp + 0x480], rax
mov qword [rbp + 0x488], r14
mov r13, rax
mov qword [rbp + 0x490], rax
lea rbx, [0x14106188b]
xor edi, edi
xor r15d, r15d
mov r12, rbx
mov rax, rbx
mov rcx, rbx
jmp 0x140034c7a
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.1400525b0
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 0x140034d0a
test di, di
je 0x140034c98
xor esi, esi
cmp r13, qword [rbp + 0x480]
jne 0x140034c63
jmp 0x140034d80
lea rcx, [0x141061893]
cmp rax, rcx
je 0x140034d05
mov r9, rbx
movzx ebx, byte [rax]
movzx edx, bl
test dl, dl
js 0x140034cbf
inc rax
mov r12, rax
mov rbx, r9
jmp 0x140034d66
mov ecx, edx
and ecx, 0x1f
movzx esi, byte [rax + 1]
and esi, 0x3f
cmp dl, 0xdf
jbe 0x140034d2f
movzx r8d, byte [rax + 2]
shl esi, 6
and r8d, 0x3f
or r8d, esi
cmp bl, 0xf0
jb 0x140034d42
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 0x140034d57
xor r12d, r12d
xor eax, eax
cmp r15, 1
je 0x140034dcb
mov r15d, 1
xor ecx, ecx
mov esi, edi
xor edi, edi
cmp r13, qword [rbp + 0x480]
jne 0x140034c63
jmp 0x140034d80
add rax, 2
shl ecx, 6
or ecx, esi
mov r12, rax
mov edx, ecx
mov rbx, r9
jmp 0x140034d66
add rax, 3
shl ecx, 0xc
or r8d, ecx
mov r12, rax
mov edx, r8d
mov rbx, r9
jmp 0x140034d5e
add rax, 4
mov r12, rax
cmp edx, 0xffff
ja 0x140034d97
xor esi, esi
mov rax, r12
mov rcx, r12
mov edi, edx
cmp r13, qword [rbp + 0x480]
jne 0x140034c63
nop dword [rax]
test r12, r12
jne 0x140034c30
mov r8d, 1
sub r8, r15
jmp 0x140034c44
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 0x140034c63
jmp 0x140034d80
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x488]
test rax, rax
je 0x140033029
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x598]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x590]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140038f80
mov rcx, qword [rbp + 0x530]
mov rdx, qword [rbp + 0x538]
test rdx, rdx
mov r12, qword [rbp + 0x5a8]
je 0x140035055
mov qword [rbp + 0x590], rcx
mov r8, qword [rbp + 0x540]
mov r9, qword [r12 + 0x98]
mov rax, qword [r12 + 0xa0]
movzx ecx, byte [r12 + 0xad]
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x480]
mov qword [rbp + 0x528], rdx
call fcn.140039080
mov rbx, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
test rdi, rdi
je 0x1400350d2
mov rsi, qword [rbp + 0x490]
cmp qword [rbp + 0x590], 0
je 0x140034ec0
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x5c8]
jmp 0x140032ed0
mov qword [rbp + 0x5c8], rax
jmp 0x140033029
call fcn.140052670
xor al, 1
jmp 0x140034502
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 r14, qword [rbp + 0x528]
mov rax, qword [rbp + 0x5a8]
mov rcx, qword [rbp + 0x448]
jne 0x140034f31
test rcx, rcx
jne 0x140034f31
test rax, rax
je 0x140034f44
mov dword [rbp + 0xc], pe_nt_image_headers64
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdi
mov rsi, qword [rbp + 0x458]
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], r15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp + 0x5a0]
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140035137
movups xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
movups xmm2, xmmword [rbp + 0x550]
mov rax, qword [rbp + 0x478]
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, qword [rbp + 0x448]
call rbx
mov rcx, qword [rbp + 0x5a8]
call rbx
lea rcx, [rbp + 0x480]
call fcn.14003a790
cmp qword [rbp + 0x470], 0
je 0x14003501a
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x438]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x590], 0
je 0x140035036
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x450], 0
je 0x140034693
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, rsi
jmp 0x14003468d
mov rax, qword [rbp + 0x478]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov r8, qword [rbp + 0x5a0]
cmp qword [rbp + 0x5c8], 0
jne 0x140033059
jmp 0x1400348e6
cmp qword [rbp + 0x480], 0
je 0x14003509d
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdi, [0x141061870]
mov qword [rbp + 0x480], rdi
mov qword [rbp + 0x488], 0
mov r12, qword [rbp + 0x5a8]
mov rbx, qword [rbp + 0x488]
test rbx, rbx
jne 0x140032c86
jmp 0x1400348d4
mov rax, qword [rbp + 0x478]
mov qword [rax], rbx
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x5c8], 0
je 0x140035104
mov rcx, qword [0x141072bd0]
xor edx, edx
mov r8, qword [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x590], 0
mov r8, qword [rbp + 0x528]
jne 0x140033059
jmp 0x1400348e6
call fcn.140052670
test al, al
jne 0x140034634
mov byte [0x141072be8], 1
jmp 0x140034634
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x478]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003476a
mov rdi, qword [rbp + 0x530]
mov rsi, qword [rbp + 0x540]
jmp 0x140034b8a
lea rcx, [0x14105f238]
lea r8, [0x14105f828]
mov edx, 0x2b
call fcn.1400516e0
jmp 0x1400354df
mov r15, r12
jmp 0x140033907
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 + 0x530], rax
lea rax, [0x14002a130]
mov qword [rbp + 0x538], rax
lea rax, [0x141061798]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x30], 0
lea rax, [rbp + 0x530]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rdx, [0x1410617d0]
lea rcx, [rbp - 0x30]
call fcn.140051600
jmp 0x1400354df
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, [0x14002a130]
mov qword [rbp + 0x488], rax
lea rax, [0x141061798]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], 1
mov qword [rbp + 0x530], 0
lea rax, [rbp + 0x480]
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
lea rdx, [0x1410617d0]
lea rcx, [rbp + 0x530]
call fcn.140051600
jmp 0x1400354df
lea rcx, [0x14105f238]
lea r8, [0x14105f858]
mov edx, 0x2b
call fcn.1400516e0
jmp 0x1400354df
mov edx, 1
mov rcx, rdi
call fcn.140051530
jmp 0x1400354df
mov byte [rbp + 0x5c6], 1
mov edx, 1
mov rcx, rdi
call fcn.140051530
jmp 0x1400354df
mov rcx, r15
mov rdx, rbx
call fcn.140051530
jmp 0x1400354df
mov byte [rbp + 0x5c6], 1
call fcn.140011f10
jmp 0x1400354df
call fcn.140011f10
jmp 0x1400354df
call fcn.140011f10
jmp 0x1400354df
lea rcx, [0x14105f440]
lea r8, [0x14105f468]
mov edx, 0x21
call fcn.1400516e0
jmp 0x1400354df
lea r8, [0x141061568]
mov ecx, 1
xor edx, edx
call fcn.1400516c0
jmp 0x1400354df
lea rax, [0x141061580]
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400516d0
jmp 0x1400354df
lea r8, [0x141061598]
mov rdx, r14
call fcn.1400516c0
jmp 0x1400354df
mov byte [rbp + 0x5d7], 1
mov ecx, 4
mov edx, 1
call fcn.140051530
jmp 0x1400354df
lea rcx, [0x14105f5d0]
lea r8, [0x141061c58]
mov edx, 0x28
call fcn.1400516e0
jmp 0x1400354df
lea rcx, [0x14105f5d0]
lea r8, [0x141061c58]
mov edx, 0x28
call fcn.1400516e0
jmp 0x1400354df
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 + 0x530], rax
lea rax, [0x14002a130]
mov qword [rbp + 0x538], rax
lea rax, [0x1410615d8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x30], 0
lea rax, [rbp + 0x530]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rdx, [0x1410615e8]
lea rcx, [rbp - 0x30]
call fcn.140051600
jmp 0x1400354df
lea rcx, [0x14105f5d0]
lea r8, [0x141061c58]
mov edx, 0x28
call fcn.1400516e0
jmp 0x1400354df
mov sil, bl
mov byte [rbp + 0x5d7], 1
mov rcx, r15
mov rdx, rsi
call fcn.140051530
jmp 0x1400354df
mov byte [rbp + 0x5d7], 1
call fcn.140011f10
jmp 0x1400354df
lea rax, [0x141061c70]
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400516d0
jmp 0x1400354df
lea r8, [0x141061c70]
mov rcx, rax
mov rdx, r12
call fcn.1400516d0
jmp 0x1400354df
lea r8, [0x14105ed60]
call fcn.1400516c0
jmp 0x1400354df
mov edx, 2
mov rcx, rbx
call fcn.140051530
jmp 0x1400354df
lea rax, [0x141061c70]
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400516d0
ud2