Function at 0x1400323c0
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, 0x678
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5e0], xmm7
movdqa xmmword [rbp + 0x5d0], xmm6
mov qword [rbp + 0x5c8], 0xfffffffffffffffe
mov r12, rdx
mov qword [rbp + 0x4f0], rcx
mov rcx, qword [rdx + 0x50]
movzx eax, byte [rdx + 0x58]
test al, al
mov qword [rbp + 0x5a0], rdx
jne 0x140032433
test rcx, rcx
jne 0x140032433
mov qword [rbp + 0x410], 0
xor eax, eax
mov qword [rbp + 0x588], rax
xor edi, edi
jmp 0x140033225
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x400], xmm0
test al, al
jne 0x140032730
mov qword [rbp + 0x5b8], rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140035713
mov qword [rbp + 0x588], rax
mov rbx, rax
nop word [rax + rax]
cmp word [rbx], 0
je 0x140032715
mov r15, 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 0x140032490
cmp r14, 1
je 0x140032470
test r14, r14
je 0x14003565b
mov r13, 0xfffffffffffffffc
xor r12d, r12d
cmp word [r15 + r12*2 + 2], 0x3d
je 0x1400324e0
inc r12
add r13, 0xfffffffffffffffe
add rax, 0xfffffffffffffffe
jne 0x1400324c0
jmp 0x140032470
lea r8, [r12 + 1]
cmp r12, r14
jae 0x140035673
lea rcx, [rbp + 0x4d0]
mov rdx, r15
call fcn.140027d40
lea rcx, [r12 + 2]
cmp r14, rcx
jb 0x14003568d
sub r15, r13
sub rdi, r12
add rdi, 0xfffffffffffffffd
lea rcx, [rbp + 0x470]
mov rdx, r15
mov r8, rdi
call fcn.140027d40
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x460], rax
movups xmm0, xmmword [rbp + 0x4d0]
movaps xmmword [rbp + 0x450], xmm0
movzx edi, byte [rbp + 0x4e8]
lea rcx, [rbp + 0x4e9]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x2d], ecx
movups xmm0, xmmword [rbp + 0x470]
movups xmm1, xmmword [rbp + 0x480]
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 0x140032715
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 + 0x480], rax
movdqa xmm0, xmmword [rbp + 0x450]
movdqa xmmword [rbp + 0x470], xmm0
mov byte [rbp + 0x488], dil
mov eax, dword [rbp + 0x530]
mov ecx, dword [rbp + 0x533]
lea rdx, [rbp + 0x489]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x480]
add rcx, rax
mov qword [rbp + 0x4d0], rcx
mov qword [rbp + 0x4d8], rax
mov word [rbp + 0x4e0], 0
lea rcx, [rbp + 0x3e0]
lea r14, [rbp + 0x4d0]
mov rdx, r14
call fcn.140036b20
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 + 0x3f0]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rbp + 0x3e0]
movups xmmword [rdx], xmm0
movdqu xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp + 0x480], xmm1
movdqa xmmword [rbp + 0x470], xmm0
mov byte [rbp + 0x59f], 0
mov rcx, r14
lea rdx, [rbp + 0x3f8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x470]
call fcn.140036d70
cmp byte [rbp + 0x4e8], 2
je 0x140032470
cmp qword [rbp + 0x4d0], 0
je 0x140032470
mov r8, qword [rbp + 0x4d8]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032470
mov rcx, qword [rbp + 0x588]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r12, qword [rbp + 0x5a0]
mov rcx, qword [rbp + 0x5b8]
mov r14, qword [r12 + 0x48]
xor eax, eax
test r14, r14
sete al
cmove rcx, r14
mov qword [rbp + 0x5b8], rcx
add rax, rax
movq xmm0, qword [r12 + 0x40]
movq xmm7, rax
punpcklqdq xmm7, xmm0
movdqa xmm6, xmmword [0x140054630]
nop word cs:[rax + rax]
mov rsi, qword [rbp + 0x5b8]
test rsi, rsi
je 0x140032ff1
movq rax, xmm7
test rax, rax
je 0x1400327b0
cmp rax, 2
je 0x1400355de
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
jmp 0x140032836
pshufd xmm0, xmm7, 0xee
movq rax, xmm0
test rax, rax
je 0x14003282e
lea rcx, [rax - 1]
mov rdx, rax
and rdx, 7
je 0x1400327dc
and rax, 0xfffffffffffffff8
mov r14, qword [r14 + 0x3d8]
dec rdx
jne 0x1400327d0
cmp rcx, 7
jb 0x14003282e
nop word cs:[rax + rax]
mov rcx, qword [r14 + 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 r14, qword [rcx + 0x3d8]
add rax, 0xfffffffffffffff8
jne 0x1400327f0
movdqa xmm7, xmm6
xor ebx, ebx
xor eax, eax
movzx ecx, word [r14 + 0x3d2]
mov rdi, r14
mov r13, rbx
cmp rbx, rcx
jb 0x140032878
nop dword [rax]
mov rcx, qword [rdi + 0x160]
test rcx, rcx
je 0x140035533
movzx r13d, word [rdi + 0x3d0]
inc rax
mov rdi, rcx
cmp r13w, word [rcx + 0x3d2]
jae 0x140032850
test rax, rax
je 0x140032920
mov r14, qword [rdi + r13*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x14003290e
lea rdx, [rax - 2]
mov rbx, rcx
and rbx, 7
je 0x1400328c5
mov rcx, rbx
nop word cs:[rax + rax]
mov r14, qword [r14 + 0x3d8]
dec rcx
jne 0x1400328b0
not rbx
add rax, rbx
mov rcx, rax
cmp rdx, 7
jb 0x14003290e
nop dword [rax + rax]
mov rax, qword [r14 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r14, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x1400328d0
xor ebx, ebx
jmp 0x140032927
lea rbx, [r13 + 1]
mov r14, rdi
dec rsi
mov qword [rbp + 0x5b8], rsi
imul rax, r13, 0x38
lea rsi, [rdi + rax]
add rsi, 0x168
shl r13, 5
movq xmm7, xmm7
cmp byte [rdi + r13 + 0x18], 2
jne 0x140032b70
mov r15, qword [rbp + 0x400]
test r15, r15
je 0x140032770
mov r9, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
mov r12, qword [rbp + 0x3f8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x4d0]
mov rdx, r12
mov r8, r15
call fcn.140038620
cmp qword [rbp + 0x4d0], 0
jne 0x140032770
mov rdx, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov rcx, qword [rbp + 0x4e8]
mov byte [rbp + 0x500], 0
test rdx, rdx
je 0x140032d9d
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x140032a9e
mov r8, rbx
lea rbx, [rdx - 2]
mov rdi, rcx
and rdi, 7
je 0x140032a0d
mov rcx, rdi
nop word cs:[rax + rax]
movzx esi, word [rax + 0x3d2]
mov rax, qword [rax + rsi*8 + 0x3d8]
dec rcx
jne 0x1400329f0
not rdi
add rdx, rdi
mov rcx, rdx
cmp rbx, 7
mov rbx, r8
jb 0x140032a9e
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 0x140032a20
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 + 0x500]
call fcn.1400387c0
mov rdi, rbx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4c0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4b0], xmm0
movdqu xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x4a0], xmm3
movaps xmmword [rbp + 0x490], xmm2
movaps xmmword [rbp + 0x480], xmm1
movdqa xmmword [rbp + 0x470], xmm0
mov rdx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
movzx ebx, word [rdx + 0x3d2]
mov rcx, rdx
cmp rax, rbx
jb 0x140032dd4
nop word [rax + rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140032dd2
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140032b40
jmp 0x140032dd4
mov r15, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
test r12, r12
mov qword [rbp + 0x588], rbx
je 0x140032bc7
js 0x140035651
mov rax, qword [0x141016bd0]
test rax, rax
jne 0x140032bac
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035614
mov qword [0x141016bd0], rax
mov rcx, rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140032bcc
jmp 0x140035614
mov ebx, 1
mov rcx, rbx
mov rdx, r15
mov r8, r12
call fcn.140044160
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x530], r12
mov qword [rbp + 0x538], rbx
mov qword [rbp + 0x540], r12
mov byte [rbp + 0x548], al
mov rdx, qword [rsi + 0x28]
mov r15, qword [rsi + 0x30]
test r15, r15
je 0x140032c71
xor ebx, ebx
mov rax, r15
shr rax, 0x3e
sete al
jne 0x140035636
lea r12, [r15 + r15]
mov bl, al
add rbx, rbx
test r12, r12
je 0x140032c7b
mov rax, qword [0x141016bd0]
test rax, rax
mov qword [rbp + 0x590], rdx
jne 0x140032c4f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140035626
mov qword [0x141016bd0], rax
mov rcx, rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov rdx, qword [rbp + 0x590]
test rsi, rsi
jne 0x140032c87
jmp 0x140035626
mov esi, 2
xor r12d, r12d
jmp 0x140032c87
mov rsi, rbx
test rsi, rsi
je 0x140035626
add rdi, r13
mov rcx, rsi
mov r8, r12
call fcn.140044160
movdqu xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
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 0x140032d09
js 0x140035640
mov rax, qword [0x141016bd0]
test rax, rax
jne 0x140032cee
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400355fb
mov qword [0x141016bd0], rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140032d0e
jmp 0x1400355fb
mov ebx, 1
mov rcx, rbx
mov rdx, r15
mov r8, rsi
call fcn.140044160
movzx eax, byte [rdi + 0x18]
mov qword [rbp + 0x530], rsi
mov qword [rbp + 0x538], rbx
mov qword [rbp + 0x540], rsi
mov byte [rbp + 0x548], al
mov byte [rbp + 0x5b7], 0
lea rcx, [rbp + 0x470]
lea rdx, [rbp + 0x3f8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x530]
call fcn.140036d70
cmp byte [rbp + 0x488], 2
mov rbx, qword [rbp + 0x588]
je 0x140032770
cmp qword [rbp + 0x470], 0
je 0x140032770
mov r8, qword [rbp + 0x478]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032770
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 + 0x500]
call fcn.1400387c0
jmp 0x140032ec9
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 + 0x4a0]
mov qword [rcx + rdx + 0x198], rbx
movaps xmm0, xmmword [rbp + 0x470]
movaps xmm1, xmmword [rbp + 0x480]
movaps xmm2, xmmword [rbp + 0x490]
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 + 0x4a8]
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 rbx, rdi
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 + 0x408]
movaps xmmword [rbp + 0x540], xmm1
movdqa xmmword [rbp + 0x530], xmm0
cmp byte [rbp + 0x500], 0
je 0x140032f5b
test r12, r12
je 0x1400356a1
mov rax, qword [r15 + 0x3d8]
mov qword [rbp + 0x400], rax
dec r12
mov qword [rbp + 0x3f8], r12
mov qword [rax + 0x160], 0
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [rbp + 0x548], 2
je 0x140032770
mov rdi, rbx
mov rsi, qword [rbp + 0x550]
mov r13, qword [rbp + 0x558]
mov r12, qword [rbp + 0x568]
mov r15, qword [rbp + 0x570]
movzx ebx, byte [rbp + 0x580]
cmp qword [rbp + 0x530], 0
je 0x140032fae
mov r8, qword [rbp + 0x538]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140032fc5
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp bl, 2
mov rbx, rdi
je 0x140032770
test r12, r12
je 0x140032770
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140032770
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x428], rax
movdqu xmm0, xmmword [rbp + 0x3f8]
movdqu xmmword [rbp + 0x418], xmm0
mov qword [rbp + 0x410], 1
mov rcx, qword [0x141016bd0]
test rcx, rcx
je 0x14003302f
mov r12, qword [rbp + 0x5a0]
jmp 0x14003304f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov r12, qword [rbp + 0x5a0]
je 0x1400356be
mov rcx, rax
mov qword [0x141016bd0], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1400356be
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 + 0x470]
lea rdx, [rbp - 0x30]
call fcn.140036b20
movups xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movdqu xmm0, xmmword [rbp + 0x470]
movdqa xmmword [rbp - 0x10], xmm0
mov rbx, qword [rbp + 0x480]
mov qword [rbp], rbx
mov rsi, qword [rbp - 8]
mov rax, qword [rbp + 0x420]
test rax, rax
je 0x1400331e4
mov rcx, qword [rbp + 0x418]
mov qword [rbp + 0x588], rcx
mov rdi, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [rax + 0x168]
movzx edx, word [rax + 0x3d2]
mov qword [rbp + 0x590], rdx
imul r12, rdx, 0x38
mov qword [rbp + 0x5b8], rax
lea r15, [rax - 0x10]
mov r14, 0xffffffffffffffff
nop word [rax + rax]
test r12, r12
je 0x140033180
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 0x140033140
cmp eax, 1
jne 0x1400331ba
jmp 0x140033187
mov r14, qword [rbp + 0x590]
mov r12, qword [rbp + 0x5a0]
mov rax, qword [rbp + 0x588]
sub rax, 1
jb 0x140033f7c
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x5b8]
mov rax, qword [rax + r14*8 + 0x3d8]
jmp 0x14003310c
cmp eax, 2
mov r12, qword [rbp + 0x5a0]
jne 0x140035558
cmp qword [rbp + 0x5b8], 0
je 0x1400331e4
mov rdi, qword [r15 - 8]
mov r14, qword [r15]
cmp qword [rbp - 0x30], 0
jne 0x1400331ed
jmp 0x140033200
xor edi, edi
cmp qword [rbp - 0x30], 0
je 0x140033200
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp - 0x10], 0
je 0x140033219
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov qword [rbp + 0x588], rax
mov rsi, qword [r12 + 0x28]
mov r13, qword [r12 + 0x30]
test r13, r13
mov qword [rbp + 0x5b8], rsi
je 0x140033290
cmp r13, 4
jae 0x14003324a
lea rdx, [0x140038fc0]
jmp 0x140033272
mov eax, dword [rsi]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rax, [0x140038fb0]
lea rdx, [0x140038fc0]
cmove rdx, rax
movzx ecx, byte [r13 + rsi - 1]
mov byte [rbp + 0x5c7], 1
call rdx
test al, al
mov r12, qword [rbp + 0x5a0]
je 0x140033446
lea rdi, [0x141005460]
mov qword [rbp + 0x470], rdi
mov qword [rbp + 0x478], 0
mov rbx, qword [rbp + 0x478]
test rbx, rbx
je 0x140034c71
mov qword [rbp + 0x588], rdi
mov rdi, qword [rbp + 0x480]
cmp rdi, 5
mov qword [rbp + 0x590], rbx
jb case.0x1400338bd.68
cmp word [rbx + rdi*2 - 0xa], 0x2e
jne case.0x1400338bd.68
cmp word [rbx + rdi*2 - 2], 0
je 0x14003389e
mov rdi, qword [r12 + 0x98]
mov rsi, 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.140026fa0
mov rax, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x540]
mov word [rax + rcx*2], 0x22
inc rcx
mov qword [rbp + 0x540], rcx
mov rax, qword [rbp + 0x5b8]
add r13, rax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140026e40
mov rdx, qword [rbp + 0x540]
cmp rdx, qword [rbp + 0x530]
jne 0x140033398
lea rcx, [rbp + 0x530]
call fcn.140026fa0
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, [rsi + rsi*4]
lea rbx, [rdi + rax*8]
lea rsi, [rbp + 0x530]
nop
cmp rdi, rbx
je 0x1400334c6
mov rdx, qword [rbp + 0x540]
cmp rdx, qword [rbp + 0x530]
jne 0x1400333e8
mov rcx, rsi
call fcn.140026fa0
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, rsi
mov rdx, rdi
mov r8d, r14d
call fcn.1400397f0
add rdi, 0x28
test rax, rax
je 0x1400333c0
mov qword [rbp + 0x5b8], rax
cmp qword [rbp + 0x530], 0
je 0x140033647
mov r8, qword [rbp + 0x538]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033647
cmp r13, 3
jbe 0x1400335f1
movzx eax, byte [r13 + rsi - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x1400335f1
movzx eax, byte [rsi + r13 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x1400335f1
movzx eax, byte [rsi + r13 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x1400335f1
movzx eax, byte [rsi + r13 - 1]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
sete cl
jmp 0x1400335f3
mov rbx, qword [rbp + 0x530]
mov rdi, qword [rbp + 0x538]
test rdi, rdi
je 0x140033640
mov rsi, qword [rbp + 0x540]
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x588]
mov qword [rbp + 0x5b8], rax
mov qword [rbp + 0x450], rbx
mov qword [rbp + 0x458], rdi
mov qword [rbp + 0x460], rsi
cmp rsi, rbx
jne 0x14003353e
mov byte [rbp + 0x5c4], 1
lea rcx, [rbp + 0x450]
mov rdx, rsi
call fcn.140026fa0
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 + 0x410], 1
mov r15d, 2
mov r14d, 0
jne 0x1400346e7
mov rsi, qword [rbp + 0x418]
mov rdi, qword [rbp + 0x420]
mov rbx, qword [rbp + 0x428]
mov qword [rbp + 0x3e0], rsi
mov qword [rbp + 0x3e8], rdi
mov qword [rbp + 0x3f0], rbx
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
test rbx, rbx
je 0x140033a78
mov r14d, 2
xor r12d, r12d
jmp 0x140033aac
xor ecx, ecx
lea r8, [rsi + r13]
xor eax, eax
nop dword [rax]
cmp r13, rax
je 0x140033697
movzx edx, byte [rsi + rax]
cmp edx, 0x2f
je 0x14003361a
inc rax
cmp edx, 0x5c
jne 0x140033600
test cl, cl
je 0x140033757
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x470]
mov rdx, rsi
mov r8, r13
call fcn.14002d660
jmp 0x140034c53
mov qword [rbp + 0x5b8], rbx
mov rcx, qword [rbp + 0x588]
mov r8, qword [rbp + 0x590]
mov rax, qword [rbp + 0x4f0]
mov rdx, qword [rbp + 0x5b8]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
test rcx, rcx
je 0x140033682
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x410]
test rax, rax
jne 0x140034c8f
jmp 0x140034ce5
xor ebx, ebx
mov rcx, rsi
jmp 0x1400336ab
xor ebx, ebx
test dx, dx
je 0x140033892
mov dx, 1
test bx, bx
jne 0x1400336a0
cmp rcx, r8
je 0x140033ee4
movzx eax, byte [rcx]
movzx esi, al
test sil, sil
js 0x1400336cd
inc rcx
jmp 0x140033727
mov r9, rdi
mov ebx, esi
and ebx, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp sil, 0xdf
jbe 0x140033719
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp al, 0xf0
jb 0x140033730
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
mov rdi, r9
cmp esi, 0xffff
jbe 0x140033727
jmp 0x140033744
add rcx, 2
shl ebx, 6
or ebx, edi
mov esi, ebx
mov rdi, r9
xor ebx, ebx
mov edx, esi
jmp 0x1400336a2
add rcx, 3
shl ebx, 0xc
or esi, ebx
mov rdi, r9
cmp esi, 0xffff
jbe 0x140033727
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x1400336a2
xor esi, esi
test r13, r13
setns bl
js 0x1400357bb
mov rcx, qword [0x141016bd0]
test rcx, rcx
jne 0x14003378a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400357a4
mov rcx, rax
mov qword [0x141016bd0], rax
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1400357a4
mov rdi, rax
mov rcx, rax
mov rdx, qword [rbp + 0x5b8]
mov r8, r13
call fcn.140044160
mov qword [rbp + 0x530], r13
mov qword [rbp + 0x538], rdi
mov qword [rbp + 0x540], r13
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, [0x141005478]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.14002cd80
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 + 0x59e], 1
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, r14
call fcn.140038fd0
cmp qword [rbp - 0x28], 0
je 0x140033a3e
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x480], rax
movdqu xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x470], xmm0
jmp 0x140034c37
lea rdi, [0x141005428]
jmp 0x140033297
movzx eax, word [rbx + rdi*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x1400338bd.68
lea rdx, [0x140036a20]
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 0x1400338d9
movzx ecx, word [rbx + rdi*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x140033907
cmp ax, 0x43
jne case.0x1400338bd.68
movzx eax, word [rbx + rdi*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x1400338bd.68
movzx eax, word [rbx + rdi*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
jne case.0x1400338bd.68
mov qword [rbp + 0x5a8], 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 + 0x5b8], rcx
xor r15d, r15d
xor r14d, r14d
xor esi, esi
cmp rax, 0x201
jb 0x14003396e
jmp 0x140033980
jae 0x140034000
cmp rax, 0x201
jae 0x140033980
lea r13, [rbp - 0x30]
mov r12d, 0x200
mov rbx, rax
jmp 0x1400339da
sub rax, rsi
sub r14, rsi
cmp r14, rax
jae 0x1400339b2
lea rcx, [rbp + 0x530]
mov rdx, rsi
mov r8, rax
call fcn.140052a40
mov r15, qword [rbp + 0x530]
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x5b8], 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 + 0x5b8]
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 0x140033a01
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140034040
mov eax, edi
cmp rbx, rax
jne 0x140033960
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400356f6
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov rax, rbx
cmp rax, 0x201
jae 0x140033980
jmp 0x14003396e
mov rcx, r15
mov rdx, r14
call fcn.140031aa0
test rax, rax
je 0x140034c25
cmp rdx, 2
jne 0x140033f8e
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x140033f8e
mov r8d, 2
xor ecx, ecx
jmp 0x140033fde
mov byte [rbp + 0x5c3], 1
lea rcx, [rbp + 0x500]
xor edx, edx
call fcn.140026fa0
mov r14, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r14 + 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.140032020
mov rax, qword [rbp + 0x538]
test rax, rax
je 0x140034680
mov rcx, qword [rbp + 0x540]
imul rdx, rcx, 0x38
cmp byte [rax + rdx + 0x180], 2
je 0x140034680
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 + 0x4f8], rbx
mov rbx, qword [rax + rdx + 0x190]
mov qword [rbp + 0x5a8], rbx
mov r15, qword [rax + rdx + 0x198]
shl rcx, 5
movdqu xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
movaps xmmword [rbp + 0x480], xmm1
movdqa xmmword [rbp + 0x470], xmm0
add r10, r8
xor esi, esi
mov rdx, r8
jmp 0x140033b8b
xor esi, esi
test di, di
je 0x140033e8a
mov di, 1
test si, si
jne 0x140033b80
cmp rdx, r10
je 0x140033c26
movzx eax, byte [rdx]
movzx ebx, al
test bl, bl
js 0x140033bac
inc rdx
jmp 0x140033bfc
mov esi, ebx
and esi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x140033bf1
movzx ebx, byte [rdx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x140033c02
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 0x140033bfc
jmp 0x140033c13
add rdx, 2
shl esi, 6
or esi, ecx
mov ebx, esi
xor esi, esi
mov edi, ebx
jmp 0x140033b82
add rdx, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x140033bfc
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x140033b82
test r9, r9
je 0x140033c3a
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x500]
sub rax, r12
cmp rax, r15
jae 0x140033c69
lea rcx, [rbp + 0x500]
mov rdx, r12
mov r8, r15
call fcn.140052a40
mov r14, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov rsi, qword [rbp + 0x5a8]
lea r8, [r15 + r15]
lea rcx, [r14 + r12*2]
mov rdx, rsi
call fcn.140044160
add r12, r15
mov qword [rbp + 0x510], r12
cmp qword [rbp + 0x4f8], 0
je 0x140033ca6
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r12, qword [rbp + 0x500]
jne 0x140033cd3
mov byte [rbp + 0x5c2], 1
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.140026fa0
mov r14, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r14 + r12*2], 0x3d
inc r12
mov qword [rbp + 0x510], r12
mov r12, qword [rbp + 0x470]
mov r15, qword [rbp + 0x478]
mov r9, qword [rbp + 0x480]
movzx r8d, byte [rbp + 0x488]
lea r10, [r15 + r9]
xor esi, esi
mov rdi, r15
jmp 0x140033d1b
xor esi, esi
test cx, cx
je 0x140033f17
mov cx, 1
test si, si
jne 0x140033d10
cmp rdi, r10
je 0x140033db6
movzx eax, byte [rdi]
movzx ebx, al
test bl, bl
js 0x140033d3c
inc rdi
jmp 0x140033d8c
mov esi, ebx
and esi, 0x1f
movzx edx, byte [rdi + 1]
and edx, 0x3f
cmp bl, 0xdf
jbe 0x140033d81
movzx ebx, byte [rdi + 2]
shl edx, 6
and ebx, 0x3f
or ebx, edx
cmp al, 0xf0
jb 0x140033d92
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 0x140033d8c
jmp 0x140033da3
add rdi, 2
shl esi, 6
or esi, edx
mov ebx, esi
xor esi, esi
mov ecx, ebx
jmp 0x140033d12
add rdi, 3
shl esi, 0xc
or ebx, esi
cmp ebx, 0xffff
jbe 0x140033d8c
and ebx, 0x3ff
or ebx, 0xdc00
mov esi, ebx
jmp 0x140033d12
cmp r8b, 2
je 0x140035550
lea rcx, [rbp + 0x489]
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], r15
mov qword [rbp + 0x540], r9
mov byte [rbp + 0x548], r8b
mov qword [rbp + 0x4d0], r10
mov qword [rbp + 0x4d8], r15
mov word [rbp + 0x4e0], 0
lea rcx, [rbp + 0x500]
lea rdx, [rbp + 0x4d0]
call fcn.140026e40
test r12, r12
je 0x140033e35
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rbp + 0x510]
cmp r12, qword [rbp + 0x500]
jne 0x140033e62
mov byte [rbp + 0x5c2], 0
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.140026fa0
mov r12, qword [rbp + 0x510]
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
mov r14, qword [rbp + 0x508]
mov word [r14 + r12*2], 0
inc r12
mov qword [rbp + 0x510], r12
jmp 0x140033ae2
test r9, r9
je 0x140033e9e
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x470], 0
mov rsi, qword [rbp + 0x5a8]
je 0x140033ec5
mov r8, qword [rbp + 0x478]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r14, [0x141005428]
cmp qword [rbp + 0x4f8], 0
je 0x140033f35
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
jmp 0x140033f2f
cmp r13, 0xf
mov rbx, qword [rbp + 0x5b8]
ja 0x140033fe3
xor eax, eax
mov qword [rbp + 0x5a8], rax
xor eax, eax
cmp byte [rbx + rax], 0x2e
je 0x140034056
inc rax
cmp r13, rax
jne 0x140033f00
jmp 0x140034062
lea r14, [0x141005428]
test r12, r12
je 0x140033f35
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbp + 0x5c3], 0
lea rcx, [rbp - 0x30]
call fcn.140039d90
cmp qword [rbp + 0x500], 0
je 0x140033f65
mov r8, qword [rbp + 0x508]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x4f0]
mov qword [rax], r14
mov qword [rax + 0x10], 2
jmp 0x140034a1f
xor edi, edi
cmp qword [rbp - 0x30], 0
jne 0x1400331ed
jmp 0x140033200
xor edi, edi
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, rdi
je 0x140034036
mov rbx, rdi
lea rsi, [rcx - 1]
inc rdi
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, rsi
jne 0x140033fa0
mov r8, rdx
sub r8, rdi
lea rcx, [r8 + 1]
cmp rdx, rcx
jb 0x1400357f4
cmp rdx, rdi
jne 0x140034bf3
xor ecx, ecx
mov r8, rdx
jmp 0x140034bfd
mov byte [rbp + 0x5c7], 1
mov cl, 0x2e
mov rdx, rbx
mov r8, r13
call fcn.140017db0
mov qword [rbp + 0x5a8], rax
jmp 0x140034062
cmp r12, rax
jb 0x1400357e0
test edi, edi
je 0x140034f3a
mov rsi, rax
lea rbx, [rax + rax]
mov edx, 2
mov rcx, rbx
call fcn.140012190
test rax, rax
je 0x140035802
mov r14, rax
jmp 0x140034f45
mov rcx, rax
xor eax, eax
jmp 0x140034bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
xor r14d, r14d
jmp 0x140034f56
mov eax, 1
mov qword [rbp + 0x5a8], rax
test rdi, rdi
je 0x1400340ab
add r14, rdi
mov qword [rbp + 0x530], r14
mov qword [rbp + 0x538], rdi
mov word [rbp + 0x540], 0
mov byte [rbp + 0x548], 1
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x530]
call fcn.14002bbe0
movzx eax, byte [rbp - 0x18]
cmp al, 2
jne 0x1400343c3
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x470]
call fcn.14002c9b0
cmp byte [rbp + 0x488], 2
jne 0x1400340df
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x470]
call fcn.140027c60
jmp 0x1400341c6
movdqu xmm0, xmmword [rbp + 0x470]
movups xmm1, xmmword [rbp + 0x480]
movdqa xmmword [rbp + 0x530], xmm0
movaps xmmword [rbp + 0x540], xmm1
mov rcx, qword [rbp + 0x538]
mov rsi, qword [rbp + 0x540]
mov byte [rbp + 0x59d], 1
mov rdx, rsi
call fcn.14002f920
test rax, rax
je 0x14003412b
cmp rsi, rdx
jb 0x14003412b
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
mov r8, r13
call fcn.14002ddd0
mov r12, qword [rbp + 0x5a0]
cmp qword [rbp + 0x5a8], 1
je 0x140034177
lea rcx, [rbp - 0x30]
call fcn.140031c00
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4d0]
mov rdx, rsi
call fcn.140038fd0
cmp qword [rbp - 0x30], 0
je 0x1400341a7
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x4d8]
test rbx, rbx
je 0x1400341c6
mov rdi, qword [rbp + 0x4d0]
mov rsi, qword [rbp + 0x4e0]
jmp 0x140034f10
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x528], rax
xor eax, eax
mov qword [rbp + 0x590], rax
xor r14d, r14d
xor r15d, r15d
cmp r8, 0x201
jb 0x140034236
jmp 0x140034250
mov rbx, qword [rbp + 0x5b8]
jae 0x14003431a
cmp r8, 0x201
jae 0x140034250
lea rdi, [rbp - 0x30]
mov esi, 0x200
mov rbx, r8
jmp 0x1400342b3
sub r8, r15
sub r14, r15
cmp r14, r8
jae 0x140034286
lea rcx, [rbp + 0x500]
mov rdx, r15
call fcn.140052a40
mov rax, qword [rbp + 0x500]
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x528], rax
mov r14, qword [rbp + 0x590]
mov eax, 0xffffffff
cmp r14, rax
mov r15d, 0xffffffff
cmovb r15, r14
mov qword [rbp + 0x510], r15
mov rdi, qword [rbp + 0x528]
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 0x1400342db
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400344d6
mov r8d, r12d
cmp rbx, r8
jne 0x140034220
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400356d9
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x140034250
jmp 0x140034236
cmp rsi, r8
jb 0x1400357c9
lea rcx, [rbp + 0x530]
mov rdx, rdi
call fcn.140027d40
lea rcx, [rbp + 0x530]
mov rdx, rbx
mov r8, r13
call fcn.14002ddd0
cmp qword [rbp + 0x5a8], 1
je 0x14003435a
lea rcx, [rbp + 0x530]
call fcn.140031c00
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x4d0]
mov rdx, rsi
call fcn.140038fd0
cmp qword [rbp + 0x530], 0
je 0x140034393
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x4d0]
movdqu xmmword [rbp + 0x478], xmm0
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x488], rax
mov qword [rbp + 0x470], 0
xor esi, esi
jmp 0x1400344f9
lea r14, [rbp - 0x30]
lea r12, [rbp + 0x530]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400343fe
mov byte [rbp + 0x5c7], 1
mov rcx, r14
mov rdx, r12
call fcn.14002bbe0
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x1400340ab
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x140034422
test rcx, rcx
je 0x1400343e0
mov rcx, qword [0x141016bd0]
xor edx, edx
call r15
jmp 0x1400343e0
mov rdx, rbx
lea rbx, [rbp - 0x17]
mov r9d, dword [rbx]
mov esi, dword [rbx + 3]
mov dword [rbp + 0x4d3], esi
mov dword [rbp + 0x4d0], r9d
mov r9d, dword [rbp + 0x4d0]
mov esi, dword [rbp + 0x4d3]
mov dword [rbx + 3], esi
mov dword [rbx], r9d
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x18], al
mov rcx, r14
mov r8, r13
call fcn.14002ddd0
cmp qword [rbp + 0x5a8], 1
je 0x14003447b
mov rcx, r14
call fcn.140031c00
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x470]
mov rdx, rbx
call fcn.140038fd0
cmp qword [rbp - 0x30], 0
je 0x1400344a8
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rbx
call r15
mov rbx, qword [rbp + 0x478]
test rbx, rbx
jne 0x1400354e9
mov byte [rbp + 0x5c7], 1
mov rcx, r14
mov rdx, r12
call fcn.14002bbe0
mov rbx, qword [rbp + 0x5b8]
jmp 0x1400343f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x478], rax
mov qword [rbp + 0x470], 1
mov sil, 1
cmp qword [rbp + 0x590], 0
je 0x140034519
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x480]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034efb
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x470]
call fcn.140039120
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], 2
mov qword [rbp + 0x510], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x528], rax
xor eax, eax
mov qword [rbp + 0x590], rax
xor r14d, r14d
xor esi, esi
cmp r8, 0x201
jb 0x1400345a8
jmp 0x1400345b7
mov rbx, qword [rbp + 0x5b8]
jae 0x140034b4a
cmp r8, 0x201
jae 0x1400345b7
lea rdi, [rbp - 0x30]
mov r15d, 0x200
mov rbx, r8
jmp 0x140034619
sub r8, rsi
sub r14, rsi
cmp r14, r8
jae 0x1400345ed
lea rcx, [rbp + 0x500]
mov rdx, rsi
call fcn.140052a40
mov rax, qword [rbp + 0x500]
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x528], rax
mov r14, qword [rbp + 0x590]
mov eax, 0xffffffff
cmp r14, rax
mov esi, 0xffffffff
cmovb rsi, r14
mov qword [rbp + 0x510], rsi
mov rdi, qword [rbp + 0x528]
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 0x140034641
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140034d07
mov r8d, r12d
cmp rbx, r8
jne 0x140034592
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140035787
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x1400345b7
jmp 0x1400345a8
mov byte [rbp + 0x5c3], 0
lea rcx, [rbp - 0x30]
call fcn.140039d90
cmp r12, qword [rbp + 0x500]
jne 0x1400346bd
mov byte [rbp + 0x5c3], 0
lea rcx, [rbp + 0x500]
mov rdx, r12
call fcn.140026fa0
mov r14, qword [rbp + 0x508]
mov r12, qword [rbp + 0x510]
mov word [r14 + r12*2], 0
mov r15, qword [rbp + 0x508]
test r15, r15
mov eax, 2
je 0x140033f65
mov rcx, qword [rbp + 0x500]
mov r12, qword [rbp + 0x5a0]
mov qword [rbp + 0x5a0], rcx
xor ecx, ecx
cmp byte [r12 + 0x18], 2
mov esi, 0
je 0x140034859
mov r8, qword [r12 + 8]
mov r9, qword [r12 + 0x10]
add r9, r8
xor edi, edi
mov rdx, r8
jmp 0x14003472b
xor edi, edi
test bx, bx
je 0x1400347cb
mov bx, 1
test di, di
jne 0x140034720
cmp rdx, r9
je 0x1400347f0
movzx eax, byte [rdx]
movzx esi, al
test sil, sil
js 0x14003474d
inc rdx
jmp 0x14003479e
mov edi, esi
and edi, 0x1f
movzx ecx, byte [rdx + 1]
and ecx, 0x3f
cmp sil, 0xdf
jbe 0x140034793
movzx esi, byte [rdx + 2]
shl ecx, 6
and esi, 0x3f
or esi, ecx
cmp al, 0xf0
jb 0x1400347a7
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 0x14003479e
jmp 0x1400347b8
add rdx, 2
shl edi, 6
or edi, ecx
mov esi, edi
xor edi, edi
mov ebx, esi
jmp 0x140034722
add rdx, 3
shl edi, 0xc
or esi, edi
cmp esi, 0xffff
jbe 0x14003479e
and esi, 0x3ff
or esi, 0xdc00
mov edi, esi
jmp 0x140034722
lea rax, [0x141005428]
mov rcx, qword [rbp + 0x4f0]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rsi, qword [rbp + 0x5a0]
jmp 0x140034a08
mov qword [rbp + 0x5a8], r15
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.140036b20
mov rcx, qword [rbp + 0x530]
mov rdx, qword [rbp + 0x540]
cmp rdx, rcx
jne 0x140034842
lea rcx, [rbp + 0x530]
call fcn.140026fa0
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 r15, qword [rbp + 0x5a8]
mov qword [rbp + 0x4f8], rcx
mov qword [rbp + 0x430], rax
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x4d0], xmm0
mov qword [rbp + 0x4e0], 0
lea rdi, [0x141016be0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x141016bb0]
shl rax, 1
test rax, rax
mov qword [rbp + 0x5a8], r15
mov qword [rbp + 0x3d8], rsi
jne 0x140035258
xor eax, eax
mov bl, byte [0x141016be8]
xor ecx, ecx
test bl, bl
setne cl
mov qword [rbp + 0x478], rdi
mov dword [rbp + 0x444], eax
mov byte [rbp + 0x480], al
mov qword [rbp + 0x470], rcx
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x540], 0
lea r15, [r12 + 0x70]
mov rcx, r12
mov r12, qword [r12 + 0x70]
xor eax, eax
cmp r12, 5
cmove r15, 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.140039e60
test rax, rax
je 0x140034a68
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov r15, qword [rbp + 0x5a8]
mov rsi, qword [rbp + 0x5a0]
cmp qword [rbp + 0x530], 0
je 0x14003498e
mov rcx, qword [rbp + 0x538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x540], 0
je 0x1400349a5
mov rcx, qword [rbp + 0x548]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x550], 0
je 0x1400349bc
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
cmp byte [rbp + 0x444], 0
jne 0x1400349db
mov rax, qword [0x141016bb0]
shl rax, 1
test rax, rax
jne 0x1400354a2
lea rcx, [0x141016be0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rbp + 0x4f8], 0
je 0x140034a08
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140034a1f
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x450], 0
je 0x140034a3f
mov r8, qword [rbp + 0x458]
mov rcx, qword [0x141016bd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x5b8], 0
je 0x140034ce5
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034ce5
mov qword [rbp + 0x438], rdx
lea r9, [rbp + 0x540]
add r15, 8
cmp r12, 5
mov ecx, 2
cmovne rcx, r12
lea r12, [rbp + 0x3d0]
cmove r15, r12
mov rdx, qword [r15]
mov r8d, 0xfffffff5
call fcn.140039e60
test rax, rax
je 0x140034ac0
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov r15, qword [rbp + 0x5a8]
jmp 0x140034b23
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.140039e60
mov rdi, rdx
test rax, rax
je 0x140035264
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
mov r15, qword [rbp + 0x5a8]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rbp + 0x5a0]
mov rcx, qword [rbp + 0x438]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x530], 0
jne 0x140034981
jmp 0x14003498e
cmp r15, r8
jb 0x140035811
lea rcx, [rbp + 0x530]
mov rdx, rdi
call fcn.140027d40
lea rcx, [rbp + 0x530]
mov rdx, rbx
mov r8, r13
call fcn.14002ddd0
cmp qword [rbp + 0x5a8], 1
je 0x140034b8a
lea rcx, [rbp + 0x530]
call fcn.140031c00
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x4d0]
mov rdx, rsi
call fcn.140038fd0
cmp qword [rbp + 0x530], 0
je 0x140034bc3
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [rbp + 0x4d0]
movdqu xmmword [rbp + 0x478], xmm0
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x488], rax
mov qword [rbp + 0x470], 0
xor esi, esi
jmp 0x140034d2a
lea rcx, [rsi + rdx]
inc rcx
mov rdx, rbx
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x140034c25
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, r15
cmp r14, rcx
jb 0x140034c25
mov qword [rbp + 0x540], rcx
mov r14, rcx
lea rcx, [rbp + 0x470]
mov rdx, r15
mov r8, r14
call fcn.14002d660
cmp qword [rbp + 0x530], 0
je 0x140034c53
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbp + 0x470]
mov r12, qword [rbp + 0x5a0]
mov rbx, qword [rbp + 0x478]
test rbx, rbx
jne 0x1400332b9
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
mov rax, qword [rbp + 0x588]
test rax, rax
je 0x140034ce5
mov rcx, qword [rbp + 0x420]
test rcx, rcx
je 0x140034cc5
mov rdx, qword [rbp + 0x418]
mov rax, qword [rbp + 0x428]
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 0x140034cd4
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.140039d90
movaps xmm6, xmmword [rbp + 0x5d0]
movaps xmm7, xmmword [rbp + 0x5e0]
add rsp, 0x678
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 + 0x478], rax
mov qword [rbp + 0x470], 1
mov sil, 1
cmp qword [rbp + 0x590], 0
je 0x140034d4a
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp + 0x480]
test rbx, rbx
sete al
or sil, al
cmp sil, 1
jne 0x140034efb
mov byte [rbp + 0x5c7], 1
lea rcx, [rbp + 0x470]
call fcn.140039120
mov rsi, qword [rbp + 0x5b8]
mov byte [rbp + 0x5c7], 1
lea rdx, [0x141004524]
lea rcx, [rbp + 0x4d0]
mov r8d, 4
call fcn.140029a50
cmp byte [rbp + 0x4e8], 2
je 0x140035421
movdqu xmm0, xmmword [rbp + 0x4d0]
movups xmm1, xmmword [rbp + 0x4e0]
movdqa xmmword [rbp + 0x470], xmm0
movaps xmmword [rbp + 0x480], xmm1
mov rcx, qword [rbp + 0x478]
mov rax, qword [rbp + 0x480]
add rax, rcx
mov qword [rbp + 0x530], rax
mov qword [rbp + 0x590], rcx
mov qword [rbp + 0x538], rcx
mov word [rbp + 0x540], 0
mov byte [rbp + 0x548], 1
lea r14, [rbp - 0x30]
lea r12, [rbp + 0x530]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
mov rdx, r12
call fcn.14002bbe0
jmp 0x140034e29
mov rcx, r14
mov rdx, r12
call fcn.14002bbe0
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x140035401
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x140034e59
test rcx, rcx
je 0x140034e1e
mov rcx, qword [0x141016bd0]
xor edx, edx
call r15
jmp 0x140034e1e
mov rdx, rsi
lea rbx, [rbp - 0x17]
mov r9d, dword [rbx]
mov esi, dword [rbx + 3]
mov dword [rbp + 0x3e3], esi
mov dword [rbp + 0x3e0], r9d
mov r9d, dword [rbp + 0x3e0]
mov esi, dword [rbp + 0x3e3]
mov dword [rbx + 3], esi
mov dword [rbx], r9d
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x18], al
mov rcx, r14
mov r8, r13
call fcn.14002ddd0
cmp qword [rbp + 0x5a8], 1
je 0x140034eb2
mov rcx, r14
call fcn.140031c00
mov rbx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x500]
mov rdx, rbx
call fcn.140038fd0
cmp qword [rbp - 0x30], 0
je 0x140034edf
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rbx
call r15
mov rbx, qword [rbp + 0x508]
test rbx, rbx
jne 0x1400354fc
mov rsi, qword [rbp + 0x5b8]
jmp 0x140034e11
mov rdi, qword [rbp + 0x478]
mov rsi, qword [rbp + 0x488]
mov r12, qword [rbp + 0x5a0]
mov qword [rbp + 0x470], rdi
mov qword [rbp + 0x478], rbx
mov qword [rbp + 0x480], rsi
mov rbx, qword [rbp + 0x478]
test rbx, rbx
jne 0x1400332b9
jmp 0x140034c71
mov rsi, rax
mov r14d, 2
xor ebx, ebx
mov rcx, r14
mov rdx, r13
mov r8, rbx
call fcn.140044160
mov rax, rsi
test r15, r15
je 0x140034f77
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x5b8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rsi
test r14, r14
je 0x14003524c
mov qword [rbp + 0x470], rax
mov qword [rbp + 0x478], r14
mov r13, rax
mov qword [rbp + 0x480], rax
lea rbx, [0x1410054ab]
xor edi, edi
xor r15d, r15d
mov r12, rbx
mov rax, rbx
mov rcx, rbx
jmp 0x140034ffa
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 + 0x470]
call fcn.140052a40
mov r14, qword [rbp + 0x478]
mov rax, r12
mov rcx, r12
mov rdx, r13
mov word [r14 + r13*2], di
inc rdx
mov r13, rdx
mov qword [rbp + 0x480], rdx
mov edi, esi
test rcx, rcx
je 0x14003508a
test di, di
je 0x140035018
xor esi, esi
cmp r13, qword [rbp + 0x470]
jne 0x140034fe3
jmp 0x140035100
lea rcx, [0x1410054b3]
cmp rax, rcx
je 0x140035085
mov r9, rbx
movzx ebx, byte [rax]
movzx edx, bl
test dl, dl
js 0x14003503f
inc rax
mov r12, rax
mov rbx, r9
jmp 0x1400350e6
mov ecx, edx
and ecx, 0x1f
movzx esi, byte [rax + 1]
and esi, 0x3f
cmp dl, 0xdf
jbe 0x1400350af
movzx r8d, byte [rax + 2]
shl esi, 6
and r8d, 0x3f
or r8d, esi
cmp bl, 0xf0
jb 0x1400350c2
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 0x1400350d7
xor r12d, r12d
xor eax, eax
cmp r15, 1
je 0x14003514b
mov r15d, 1
xor ecx, ecx
mov esi, edi
xor edi, edi
cmp r13, qword [rbp + 0x470]
jne 0x140034fe3
jmp 0x140035100
add rax, 2
shl ecx, 6
or ecx, esi
mov r12, rax
mov edx, ecx
mov rbx, r9
jmp 0x1400350e6
add rax, 3
shl ecx, 0xc
or r8d, ecx
mov r12, rax
mov edx, r8d
mov rbx, r9
jmp 0x1400350de
add rax, 4
mov r12, rax
cmp edx, 0xffff
ja 0x140035117
xor esi, esi
mov rax, r12
mov rcx, r12
mov edi, edx
cmp r13, qword [rbp + 0x470]
jne 0x140034fe3
nop dword [rax]
test r12, r12
jne 0x140034fb0
mov r8d, 1
sub r8, r15
jmp 0x140034fc4
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 + 0x470]
jne 0x140034fe3
jmp 0x140035100
mov rax, qword [rbp + 0x470]
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x478]
test rax, rax
je 0x140033647
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x588]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x590]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x5a8]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140039210
mov rcx, qword [rbp + 0x530]
mov rdx, qword [rbp + 0x538]
test rdx, rdx
mov r12, qword [rbp + 0x5a0]
je 0x1400353d5
mov qword [rbp + 0x5a8], 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 + 0x470]
mov qword [rbp + 0x4f8], rdx
call fcn.140039310
mov rbx, qword [rbp + 0x470]
mov rdi, qword [rbp + 0x478]
test rdi, rdi
je 0x140035456
mov rsi, qword [rbp + 0x480]
cmp qword [rbp + 0x5a8], 0
je 0x140035240
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x4f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x5b8]
jmp 0x1400334f9
mov qword [rbp + 0x5b8], rax
jmp 0x140033647
call fcn.140052b00
xor al, 1
jmp 0x1400348b2
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 r15, qword [rbp + 0x5a8]
mov rax, qword [rbp + 0x438]
mov rcx, qword [rbp + 0x448]
jne 0x1400352b1
test rcx, rcx
jne 0x1400352b1
test rax, rax
je 0x1400352c4
mov dword [rbp + 0xc], 0x100
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdi
mov rsi, qword [rbp + 0x458]
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x3d8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp + 0x528]
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400354bb
movups xmm0, xmmword [rbp + 0x530]
movups xmm1, xmmword [rbp + 0x540]
movups xmm2, xmmword [rbp + 0x550]
mov rax, qword [rbp + 0x4f0]
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x4d0]
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 + 0x438]
call rbx
lea rcx, [rbp + 0x470]
call fcn.14003aa20
cmp qword [rbp + 0x4f8], 0
je 0x14003539a
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x5a0], 0
je 0x1400353b6
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x450], 0
je 0x140034a3f
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, rsi
jmp 0x140034a39
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov r8, qword [rbp + 0x528]
cmp qword [rbp + 0x5b8], 0
jne 0x140033673
jmp 0x140033682
cmp qword [rbp + 0x470], 0
je 0x140035421
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdi, [0x141005490]
mov qword [rbp + 0x470], rdi
mov qword [rbp + 0x478], 0
mov r12, qword [rbp + 0x5a0]
mov rbx, qword [rbp + 0x478]
test rbx, rbx
jne 0x1400332b9
jmp 0x140034c71
mov rax, qword [rbp + 0x4f0]
mov qword [rax], rbx
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x5b8], 0
je 0x140035488
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x4f8]
cmp qword [rbp + 0x5a8], 0
jne 0x140033673
jmp 0x140033682
call fcn.140052b00
test al, al
jne 0x1400349db
mov byte [0x141016be8], 1
jmp 0x1400349db
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x4f0]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140034b16
mov rdi, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
jmp 0x140034f09
mov rdi, qword [rbp + 0x500]
mov rsi, qword [rbp + 0x510]
cmp qword [rbp + 0x470], 0
je 0x140034f09
mov rcx, qword [0x141016bd0]
xor edx, edx
mov r8, qword [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140034f09
lea rcx, [0x141002e98]
lea r8, [0x141003488]
mov edx, 0x2b
call fcn.140051b90
jmp 0x140035826
mov r14, r12
jmp 0x140033f35
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4d0], rax
lea rax, [rbp + 0x4d0]
mov qword [rbp + 0x470], rax
lea rax, [0x14002a7d0]
mov qword [rbp + 0x478], rax
lea rax, [0x1410053b8]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], 1
mov qword [rbp + 0x530], 0
lea rax, [rbp + 0x470]
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
lea rdx, [0x1410053f0]
lea rcx, [rbp + 0x530]
call fcn.140051ab0
jmp 0x140035826
lea rcx, [0x141002e98]
lea r8, [0x1410034b8]
mov edx, 0x2b
call fcn.140051b90
jmp 0x140035826
mov byte [rbp + 0x5b7], 1
mov edx, 1
mov rcx, rsi
call fcn.1400519e0
jmp 0x140035826
mov edx, 1
mov rcx, r12
call fcn.1400519e0
jmp 0x140035826
mov rcx, r12
mov rdx, rbx
call fcn.1400519e0
jmp 0x140035826
call fcn.1400122a0
jmp 0x140035826
mov byte [rbp + 0x5b7], 1
call fcn.1400122a0
jmp 0x140035826
call fcn.1400122a0
jmp 0x140035826
lea r8, [0x141005188]
mov ecx, 1
xor edx, edx
call fcn.140051b70
jmp 0x140035826
lea rax, [0x1410051a0]
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140051b80
jmp 0x140035826
lea r8, [0x1410051b8]
mov rdx, r14
call fcn.140051b70
jmp 0x140035826
lea rcx, [0x1410030a0]
lea r8, [0x1410030c8]
mov edx, 0x21
call fcn.140051b90
jmp 0x140035826
mov byte [rbp + 0x5c7], 1
mov ecx, 4
mov edx, 1
call fcn.1400519e0
jmp 0x140035826
lea rcx, [0x141003230]
lea r8, [0x141005910]
mov edx, 0x28
call fcn.140051b90
jmp 0x140035826
lea rcx, [0x141003230]
lea r8, [0x141005910]
mov edx, 0x28
call fcn.140051b90
jmp 0x140035826
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x470], rax
lea rax, [rbp + 0x470]
mov qword [rbp + 0x530], rax
lea rax, [0x14002a7d0]
mov qword [rbp + 0x538], rax
lea rax, [0x1410051f8]
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, [0x141005208]
lea rcx, [rbp - 0x30]
call fcn.140051ab0
jmp 0x140035826
lea rcx, [0x141003230]
lea r8, [0x141005910]
mov edx, 0x28
call fcn.140051b90
jmp 0x140035826
mov sil, bl
mov byte [rbp + 0x5c7], 1
mov rcx, r13
mov rdx, rsi
call fcn.1400519e0
jmp 0x140035826
mov byte [rbp + 0x5c7], 1
call fcn.1400122a0
jmp 0x140035826
lea rax, [0x141005928]
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140051b80
jmp 0x140035826
lea r8, [0x141005928]
mov rcx, rax
mov rdx, r12
call fcn.140051b80
jmp 0x140035826
lea r8, [0x1410029c0]
call fcn.140051b70
jmp 0x140035826
mov edx, 2
mov rcx, rbx
call fcn.1400519e0
jmp 0x140035826
lea rax, [0x141005928]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.140051b80
ud2