Function at 0x14002d980
Capabilities:
Check if file exists
Create process on windows
Encode data using base64
Get common file path
Get file attributes
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5d8
movaps xmmword [rsp + 0x5c0], xmm6
mov r13, r8
mov rdi, rdx
mov r14, rcx
movzx eax, byte [rdx + 0xa0]
test al, al
sete cl
mov rsi, qword [rdx + 0x98]
test rsi, rsi
sete dl
and dl, cl
mov qword [rsp + 0x88], rdi
mov byte [rsp + 0xb0], dl
je 0x14002d9dc
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x14002e822
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x78], r13
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x108], 0
test al, al
jne 0x14002dc1c
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14003095e
mov r13, rax
mov qword [rsp + 0x70], rsi
lea rdi, [rsp + 0x1e0]
lea r12, [rsp + 0xc0]
lea rbp, [rsp + 0x1c0]
mov rsi, rax
nop word [rax + rax]
cmp word [rsi], 0
je 0x14002dc07
mov rbx, rsi
mov r14, 0xffffffffffffffff
mov rcx, 0xfffffffffffffffe
nop dword [rax + rax]
mov rax, rcx
cmp word [rbx + r14*2 + 2], 0
lea r14, [r14 + 1]
lea rcx, [rcx + 2]
jne 0x14002da60
lea rsi, [rbx + r14*2]
add rsi, 2
cmp r14, 1
je 0x14002da40
test r14, r14
je 0x140030779
xor r15d, r15d
nop
cmp word [rbx + r15*2 + 2], 0x3d
je 0x14002dab0
inc r15
add rax, 0xfffffffffffffffe
jne 0x14002da90
jmp 0x14002da40
cmp r15, r14
jae 0x140030779
lea r8, [r15 + 1]
mov rcx, r12
mov rdx, rbx
call fcn.140032400
add r15, 2
sub r14, r15
jb 0x140030779
lea rdx, [rbx + r15*2]
mov rcx, rdi
mov r8, r14
call fcn.140032400
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x1d0], xmm1
movaps xmmword [rsp + 0x1c0], xmm0
mov rbx, qword [rsp + 0x1c0]
mov r14, qword [rsp + 0x1c8]
mov r15, qword [rsp + 0x1d0]
movdqu xmm0, xmmword [rdi - 8]
movdqu xmm1, xmmword [rdi + 8]
movdqa xmmword [rsp + 0x110], xmm0
movdqa xmmword [rsp + 0x120], xmm1
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x130], rax
movabs rax, 0x8000000000000000
cmp rbx, rax
je 0x14002dc07
lea rax, [r14 + r15]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], rax
mov word [rsp + 0xd0], 0
lea rcx, [rsp + 0x1e0]
mov rdx, r12
call fcn.140032240
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], r14
mov qword [rsp + 0x1d0], r15
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x1d8], rax
mov rcx, r12
lea rdx, [rsp + 0xf8]
mov r8, rbp
lea r9, [rsp + 0x118]
call fcn.14002c4b0
mov rax, qword [rsp + 0xc0]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14002da40
test rax, rax
je 0x14002da40
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14002da40
mov rcx, r13
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x70]
mov rax, qword [rdi + 0x88]
mov rcx, qword [rdi + 0x90]
mov qword [rsp + 0x68], rcx
xor ecx, ecx
test rax, rax
setne cl
mov qword [rsp + 0x180], rcx
cmove rsi, rax
mov qword [rsp + 0x70], rsi
xor esi, esi
jmp 0x14002dc52
xor eax, eax
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x14002e659
cmp qword [rsp + 0x180], 0
je 0x140030779
test rsi, rsi
mov r14, qword [rsp + 0x68]
je 0x14002dca0
movzx ecx, word [rsi + 0x3d2]
cmp r14, rcx
jae 0x14002dd50
mov r15, rsi
jmp 0x14002dd78
mov ecx, 1
mov qword [rsp + 0x180], rcx
test r14, r14
je 0x14002dcdd
mov rcx, r14
and rcx, 7
je 0x14002dce2
mov rsi, rax
xor eax, eax
mov rsi, qword [rsi + 0x3d8]
inc rax
cmp rcx, rax
jne 0x14002dcc0
mov rcx, r14
sub rcx, rax
cmp r14, 8
jae 0x14002dcf0
jmp 0x14002dd2e
mov rsi, rax
jmp 0x14002dd2e
mov rcx, r14
mov rsi, rax
cmp r14, 8
jb 0x14002dd2e
nop
mov rax, qword [rsi + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002dcf0
xor r14d, r14d
xor eax, eax
movzx ecx, word [rsi + 0x3d2]
cmp r14, rcx
jb 0x14002dc89
nop word cs:[rax + rax]
mov r15, qword [rsi + 0x160]
test r15, r15
je 0x140030779
inc rax
movzx r14d, word [rsi + 0x3d0]
mov rsi, r15
cmp r14w, word [r15 + 0x3d2]
jae 0x14002dd50
test rax, rax
je 0x14002de10
mov rsi, qword [r15 + r14*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x14002ddfe
mov rdx, rcx
and rdx, 7
je 0x14002ddb2
xor r8d, r8d
nop dword [rax]
mov rsi, qword [rsi + 0x3d8]
inc r8
cmp rdx, r8
jne 0x14002dda0
sub rcx, r8
add rax, 0xfffffffffffffffe
cmp rax, 7
jb 0x14002ddfe
nop dword [rax]
mov rax, qword [rsi + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rsi, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002ddc0
xor edi, edi
jmp 0x14002de17
lea rdi, [r14 + 1]
mov rsi, r15
dec r9
imul rax, r14, 0x38
lea r13, [r15 + rax]
add r13, 0x168
shl r14, 5
movabs rax, 0x8000000000000000
cmp qword [r15 + r14], rax
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x68], rdi
jne 0x14002df30
mov r12, qword [rsp + 0xf8]
mov eax, 0
test r12, r12
je 0x14002dc52
mov r14, qword [rsp + 0x100]
lea eax, [r14 + 7]
mov dword [rsp + 0xb8], eax
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x190], r12
lea rbx, [r12 + 0x168]
movzx ebp, word [r12 + 0x3d2]
imul r15, rbp, 0x38
xor edi, edi
test r15, r15
je 0x14002dee2
nop word [rax + rax]
mov rcx, qword [r13 + 0x28]
mov edx, dword [r13 + 0x30]
mov r8, qword [rbx + 0x28]
mov r9d, dword [rbx + 0x30]
mov dword [rsp + 0x20], 1
call sub.KERNEL32.dll_CompareStringOrdinal
cmp eax, 3
jne 0x14002def0
inc rdi
add rbx, 0x38
add r15, 0xffffffffffffffc8
test r15, r15
jne 0x14002deb0
mov rdi, rbp
jmp 0x14002def9
cmp eax, 1
jne 0x14002df80
test r14, r14
je 0x14002e652
mov r12, qword [r12 + rdi*8 + 0x3d8]
dec r14
inc qword [rsp + 0x80]
mov eax, dword [rsp + 0xb8]
add al, 7
mov dword [rsp + 0xb8], eax
jmp 0x14002de8e
mov r12, qword [r13 + 8]
mov rbp, qword [r13 + 0x10]
test rbp, rbp
je 0x14002e18c
js 0x140030779
movzx eax, byte [0x142f53108]
xor ecx, ecx
mov rdx, rbp
call fcn.140025a60
test rax, rax
je 0x140030779
mov rbx, rax
mov rax, rbp
mov qword [rsp + 0x178], rbp
jmp 0x14002e19b
cmp eax, 2
jne 0x14003095e
mov byte [rsp + 0x5f], 0
test r14, r14
je 0x14002e341
mov rax, qword [r12 + rdi*8 + 0x3d8]
mov rcx, r14
dec rcx
je 0x14002e08e
test cl, 7
je 0x14002dff6
movzx ecx, byte [rsp + 0xb8]
and ecx, 7
neg rcx
mov edx, 1
nop word cs:[rax + rax]
movzx r8d, word [rax + 0x3d2]
mov rax, qword [rax + r8*8 + 0x3d8]
lea r8, [rcx + rdx]
inc r8
inc rdx
cmp r8, 1
jne 0x14002dfd0
sub r14, rdx
mov rcx, r14
mov rdx, qword [rsp + 0x178]
sub rdx, qword [rsp + 0x80]
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14002e08e
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 0x14002e010
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], rcx
lea rcx, [rsp + 0x1c0]
lea rdx, [rsp + 0x198]
lea r8, [rsp + 0x5f]
call fcn.140023f70
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x1c0]
movups xmm1, xmmword [rsp + 0x1d0]
movdqu xmm2, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
lea rax, [rsp + 0x1f8]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0xa0], xmm1
mov r8, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x228]
movzx eax, word [r8 + 0x3d2]
cmp rdx, rax
jae 0x14002e160
mov rax, r8
jmp 0x14002e384
mov rax, qword [r8 + 0x160]
test rax, rax
je 0x14002e37c
inc rcx
movzx edx, word [r8 + 0x3d0]
mov r8, rax
cmp dx, word [rax + 0x3d2]
jae 0x14002e160
jmp 0x14002e384
mov ebx, 1
xor eax, eax
mov qword [rsp + 0x178], rax
mov rcx, rbx
mov rdx, r12
mov qword [rsp + 0xb8], rbp
mov r8, rbp
call sub.msvcrt.dll_memcpy
movzx eax, byte [r13 + 0x18]
mov byte [rsp + 0x80], al
mov rdx, qword [r13 + 0x28]
mov r12, qword [r13 + 0x30]
test r12, r12
je 0x14002e206
mov rax, r12
shr rax, 0x3e
jne 0x140030779
mov rdi, rdx
lea r13, [r12 + r12]
movzx eax, byte [0x142f53108]
xor ecx, ecx
mov rdx, r13
call fcn.140025a60
test rax, rax
je 0x140030779
mov rbp, rax
mov rax, r12
mov rdx, rdi
mov rdi, r12
jmp 0x14002e210
mov ebp, 2
xor r13d, r13d
xor edi, edi
add r15, r14
mov rcx, rbp
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1e8], rbp
mov qword [rsp + 0x1f0], r12
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rbx
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1d0], rax
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x1d8], al
mov rbx, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x14002e2a2
js 0x140030779
movzx eax, byte [0x142f53108]
xor ecx, ecx
mov rdx, rdi
call fcn.140025a60
test rax, rax
je 0x140030779
mov r12, rax
mov r14, rdi
jmp 0x14002e2ab
mov r12d, 1
xor r14d, r14d
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x120], rdi
movzx eax, byte [r15 + 0x18]
mov byte [rsp + 0x128], al
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0x1c0]
lea r9, [rsp + 0x110]
call fcn.14002c4b0
mov rax, qword [rsp + 0xc0]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14002dc50
test rax, rax
je 0x14002dc50
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14002dc50
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], rdi
lea rcx, [rsp + 0x1c0]
lea rdx, [rsp + 0x110]
lea r8, [rsp + 0x5f]
call fcn.140023f70
jmp 0x14002e55a
mov rdx, rcx
mov rcx, r8
xor eax, eax
imul r8, rdx, 0x38
mov r9, rdx
shl r9, 5
mov r10, qword [rax + r8 + 0x198]
mov qword [rsp + 0x140], r10
movups xmm0, xmmword [rax + r8 + 0x168]
movups xmm1, xmmword [rax + r8 + 0x178]
movups xmm2, xmmword [rax + r8 + 0x188]
movaps xmmword [rsp + 0x130], xmm2
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov r10, qword [rsp + 0xf0]
mov qword [rax + r8 + 0x198], r10
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movdqa xmm2, xmmword [rsp + 0xe0]
movdqu xmmword [rax + r8 + 0x188], xmm2
movups xmmword [rax + r8 + 0x178], xmm1
movups xmmword [rax + r8 + 0x168], xmm0
movups xmm0, xmmword [rax + r9]
movups xmm1, xmmword [rax + r9 + 0x10]
lea r8, [rsp + 0x148]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
movdqa xmm0, xmmword [rsp + 0x90]
movdqa xmm1, xmmword [rsp + 0xa0]
movdqu xmmword [rax + r9], xmm0
movdqu xmmword [rax + r9 + 0x10], xmm1
test rcx, rcx
je 0x14002e4de
mov rax, qword [rax + rdx*8 + 0x3e0]
mov rdx, rcx
dec rdx
je 0x14002e4de
mov r8, rdx
and r8, 7
je 0x14002e492
xor r9d, r9d
nop word [rax + rax]
mov rax, qword [rax + 0x3d8]
inc r9
cmp r8, r9
jne 0x14002e480
sub rdx, r9
add rcx, 0xfffffffffffffffe
cmp rcx, 7
jb 0x14002e4de
nop dword [rax]
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 rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
add rdx, 0xfffffffffffffff8
jne 0x14002e4a0
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x210], rcx
movaps xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x200], xmm0
movdqa xmm0, xmmword [rsp + 0x110]
movdqa xmm1, xmmword [rsp + 0x120]
movdqa xmm2, xmmword [rsp + 0x130]
movdqa xmm3, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x1f0], xmm3
movdqa xmmword [rsp + 0x1e0], xmm2
movdqa xmmword [rsp + 0x1d0], xmm1
movdqa xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x220], 0
mov r15, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1e8]
dec qword [rsp + 0x108]
mov r14, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x200]
cmp byte [rsp + 0x5f], 0
je 0x14002e5e5
mov rcx, qword [rsp + 0x178]
test rcx, rcx
je 0x140030779
mov r8, qword [rsp + 0x190]
mov rax, qword [r8 + 0x3d8]
mov qword [rsp + 0xf8], rax
dec rcx
mov qword [rsp + 0x100], rcx
mov qword [rax + 0x160], 0
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov eax, 0
movabs rcx, 0x8000000000000000
cmp r15, rcx
je 0x14002dc52
test r15, r15
je 0x14002e613
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
test rdi, rdi
je 0x14002e629
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
shl r14, 1
mov eax, 0
test r14, r14
je 0x14002dc52
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
xor eax, eax
jmp 0x14002dc52
xor eax, eax
jmp 0x14002dc52
mov r14, qword [rsp + 0xf8]
mov r15, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
movzx eax, byte [0x142f53108]
mov edx, 4
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x140030779
mov r12, rax
mov qword [rsp + 0xb8], rsi
mov dword [rax], 0x48544150
add rax, 4
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x118], rax
mov word [rsp + 0x120], 0
lea rcx, [rsp + 0x1e0]
lea rdx, [rsp + 0x110]
call fcn.140032240
mov qword [rsp + 0x1c0], 4
mov qword [rsp + 0x1c8], r12
mov qword [rsp + 0x1d0], 4
mov byte [rsp + 0x1d8], 0
test r14, r14
mov qword [rsp + 0x180], r15
mov qword [rsp + 0x70], r14
je 0x14002e7d7
mov qword [rsp + 0x80], r12
mov rdi, qword [rsp + 0x1e8]
mov ebx, dword [rsp + 0x1f0]
xor eax, eax
mov qword [rsp + 0x68], rax
lea r12, [r14 + 0x168]
movzx ebp, word [r14 + 0x3d2]
imul rsi, rbp, 0x38
xor r13d, r13d
test rsi, rsi
je 0x14002e781
nop dword [rax + rax]
mov r8, qword [r12 + 0x28]
mov r9d, dword [r12 + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, ebx
call sub.KERNEL32.dll_CompareStringOrdinal
cmp eax, 3
jne 0x14002e790
inc r13
add r12, 0x38
add rsi, 0xffffffffffffffc8
test rsi, rsi
jne 0x14002e750
mov r13, rbp
jmp 0x14002e795
cmp eax, 1
jne 0x14002e7a9
sub r15, 1
jb 0x14002ef0e
mov r14, qword [r14 + r13*8 + 0x3d8]
jmp 0x14002e72d
cmp eax, 2
jne 0x14003095e
shl r13, 5
mov rax, qword [r14 + r13 + 8]
mov qword [rsp + 0x68], rax
mov rbx, qword [r14 + r13 + 0x10]
mov rdi, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
jmp 0x14002e7e6
xor eax, eax
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x88]
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x1e0], 0
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x60]
je 0x14002e822
mov r8, qword [rsp + 0x1e8]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
lea r15, [0x142f4cf98]
test rdi, rdi
je 0x14002ed03
cmp rdi, 4
jae 0x14002e867
lea rax, [0x140029320]
movzx ecx, byte [rdi + rsi - 1]
call rax
test al, al
je 0x14002e89e
jmp 0x14002ed03
mov eax, dword [rsi]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140029310]
lea rax, [0x140029320]
cmove rax, rcx
movzx ecx, byte [rdi + rsi - 1]
call rax
test al, al
jne 0x14002ed03
movabs r12, 0x8000000000000000
cmp rdi, 3
jbe 0x14002e9a7
add rsi, rdi
lea rax, [rsi - 4]
mov rcx, rsi
sub rcx, rax
cmp rcx, 4
mov eax, 4
cmovb rax, rcx
movzx ecx, byte [rsi - 4]
lea edx, [rcx - 0x41]
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x2e
jne 0x14002e9c8
movzx ecx, byte [rsi - 3]
lea edx, [rcx - 0x41]
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
mov ecx, 1
cmp dl, 0x65
jne 0x14002e93d
movzx ecx, byte [rsi - 2]
lea edx, [rcx - 0x41]
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
mov ecx, 2
cmp dl, 0x78
jne 0x14002e93d
movzx ecx, byte [rsi - 1]
lea edx, [rcx - 0x41]
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
xor ecx, ecx
cmp dl, 0x65
sete cl
add rcx, 3
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
xor edx, edx
nop
cmp rdi, rdx
je 0x14002ea2d
movzx r8d, byte [rsi + rdx]
cmp r8d, 0x2f
je 0x14002e96d
inc rdx
cmp r8d, 0x5c
jne 0x14002e950
cmp rcx, rax
jb 0x14002e9f6
lea rcx, [rsp + 0x198]
mov rdx, rsi
mov r8, rdi
call fcn.1400273b0
mov rax, qword [rsp + 0x198]
mov r15, qword [rsp + 0x1a0]
cmp rax, r12
jne 0x14002edc8
jmp 0x14002ed03
xor eax, eax
nop dword [rax]
cmp rdi, rax
je 0x14002ea2d
movzx ecx, byte [rsi + rax]
cmp ecx, 0x2f
je 0x14002e9f6
inc rax
cmp ecx, 0x5c
jne 0x14002e9b0
jmp 0x14002e9f6
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
xor eax, eax
nop word [rax + rax]
cmp rdi, rax
je 0x14002ea2d
movzx ecx, byte [rsi + rax]
cmp ecx, 0x2f
je 0x14002e9f6
inc rax
cmp ecx, 0x5c
jne 0x14002e9e0
test rdi, rdi
je 0x14002eb09
js 0x140030779
mov r15, r14
movzx eax, byte [0x142f53108]
xor ecx, ecx
mov rdx, rdi
call fcn.140025a60
test rax, rax
je 0x140030779
mov rbx, rax
mov r14, rdi
jmp 0x14002eb14
lea rax, [rsi + rdi]
xor r9d, r9d
lea r15, [0x142f4cf58]
mov rcx, rsi
jmp 0x14002ea4c
xor r9d, r9d
test dx, dx
je 0x14002ed03
mov dx, 1
test r9w, r9w
jne 0x14002ea40
cmp rcx, rax
je 0x14002eed3
movzx r8d, byte [rcx]
test r8b, r8b
js 0x14002ea6d
inc rcx
jmp 0x14002ead1
mov r9d, r8d
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r8b, 0xdf
jbe 0x14002eac3
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r8b, 0xf0
jb 0x14002eadc
movzx r8d, byte [rcx + 3]
add rcx, 4
and r9d, 7
shl r9d, 0x12
shl r10d, 6
and r8d, 0x3f
or r8d, r10d
or r8d, r9d
cmp r8d, 0xffff
jbe 0x14002ead1
jmp 0x14002eaf3
add rcx, 2
shl r9d, 6
or r9d, r11d
mov r8d, r9d
xor r9d, r9d
mov edx, r8d
jmp 0x14002ea43
add rcx, 3
shl r9d, 0xc
or r10d, r9d
mov r8d, r10d
cmp r8d, 0xffff
jbe 0x14002ead1
and r8d, 0x3ff
or r8d, 0xdc00
mov r9d, r8d
jmp 0x14002ea43
mov r15, r14
mov ebx, 1
xor r14d, r14d
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rdi
mov byte [rsp + 0x128], 0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1d0], rax
movzx eax, byte [rsp + 0x128]
mov byte [rsp + 0x1d8], al
mov eax, dword [rsp + 0x129]
mov dword [rsp + 0x1d9], eax
movzx eax, word [rsp + 0x12d]
mov word [rsp + 0x1dd], ax
movzx eax, byte [rsp + 0x12f]
mov byte [rsp + 0x1df], al
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x1c8], rax
lea rdx, [0x142f4cfb0]
lea rcx, [rsp + 0x1c0]
mov r8d, 4
call fcn.140028d90
movdqa xmm0, xmmword [rsp + 0x1c0]
movdqa xmm1, xmmword [rsp + 0x1d0]
movdqa xmmword [rsp + 0x120], xmm1
movdqa xmmword [rsp + 0x110], xmm0
mov rsi, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
lea rcx, [rsp + 0x1c0]
mov rdx, rsi
call fcn.1400273b0
mov rbx, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1c8]
cmp rbx, r12
jne 0x14002ec9a
mov rcx, r12
mov rdx, rdi
call fcn.140030bd0
lea rcx, [rsp + 0x110]
mov edx, 1
xor r8d, r8d
call case.0x1400336cb.43
mov rsi, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
lea rcx, [rsp + 0x198]
mov rdx, rsi
call fcn.1400273b0
cmp qword [rsp + 0x110], 0
mov r14, r15
je 0x14002ec80
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x198]
mov r15, qword [rsp + 0x1a0]
cmp rax, r12
je 0x14002ed03
jmp 0x14002edc8
mov r14, qword [rsp + 0x1d0]
mov rcx, rdi
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x14002eeb4
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], r14
cmp qword [rsp + 0x110], 0
je 0x14002ece7
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov r14, r15
mov rax, qword [rsp + 0x198]
mov r15, qword [rsp + 0x1a0]
cmp rax, r12
jne 0x14002edc8
movzx ebx, byte [rsp + 0xb0]
mov qword [r14], r15
mov qword [r14 + 0x10], 2
mov rsi, qword [rsp + 0x70]
test bl, bl
jne 0x14002ed9c
test rsi, rsi
je 0x14002ed73
mov qword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d0], rsi
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e8], 0
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], rax
mov eax, 1
mov rcx, qword [rsp + 0xb8]
jmp 0x14002ed77
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x200], rcx
lea rcx, [rsp + 0x1c0]
call fcn.1400310d0
cmp dword [r13], 4
jb 0x14002edac
mov rcx, qword [r13 + 8]
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x5c0]
add rsp, 0x5d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r14
mov rsi, qword [rsp + 0x1a8]
cmp rsi, 5
jb case.0x14002ee28.68
lea rax, [r15 + rsi*2]
mov rcx, rax
add rcx, 0xfffffffffffffff6
je case.0x14002ee28.68
cmp word [rcx], 0x2e
jne case.0x14002ee28.68
cmp word [rax - 2], 0
jne case.0x14002ee28.68
movzx ecx, word [rax - 8]
lea edx, [rcx - 0x42]
cmp edx, 0x21
ja case.0x14002ee28.68
lea r8, [0x140058f90]
movsxd rdx, dword [r8 + rdx*4]
add rdx, r8
jmp rdx
movzx edx, word [rax - 6]
or edx, 0x20
cmp edx, 0x61
jne 0x14002ee42
movzx edx, word [rax - 4]
or edx, 0x20
cmp edx, 0x74
je 0x14002ee6c
cmp cx, 0x43
jne case.0x14002ee28.68
movzx ecx, word [rax - 6]
or ecx, 0x20
cmp ecx, 0x6d
jne case.0x14002ee28.68
movzx eax, word [rax - 4]
or eax, 0x20
cmp eax, 0x64
jne case.0x14002ee28.68
lea rcx, [rsp + 0x1c0]
call fcn.140030d10
mov rdi, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1c8]
cmp rdi, r12
jne 0x140030513
mov rax, qword [rsp + 0x60]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
movzx ebx, byte [rsp + 0xb0]
mov rsi, qword [rsp + 0x70]
jmp 0x14002fb0a
test rbx, rbx
je 0x14002ec2c
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
jmp 0x14002ec2c
cmp rdi, 0x10
jae 0x14002ef13
test rdi, rdi
je 0x14002efa6
dec rdi
xor ecx, ecx
nop word [rax + rax]
cmp byte [rsi + rcx], 0x2e
sete al
je 0x14002efac
lea rdx, [rcx + 1]
cmp rdi, rcx
mov rcx, rdx
jne 0x14002eef0
jmp 0x14002efac
jmp 0x14002e7c5
lea rax, [rsi + 7]
and rax, 0xfffffffffffffff8
sub rax, rsi
jne 0x14002ef73
lea rcx, [rdi - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x140058f70]
movdqa xmm1, xmmword [0x140058f80]
movabs rdx, 0x8080808080808080
movdqu xmm2, xmmword [rsi + rax]
movdqa xmm3, xmm2
pxor xmm3, xmm0
paddq xmm3, xmm1
pandn xmm2, xmm3
pshufd xmm3, xmm2, 0xee
por xmm3, xmm2
movq r8, xmm3
test r8, rdx
jne 0x14002ef93
add rax, 0x10
cmp rax, rcx
jbe 0x14002ef40
jmp 0x14002ef93
cmp rax, rdi
cmovae rax, rdi
xor ecx, ecx
cmp byte [rsi + rcx], 0x2e
je 0x14002efaa
inc rcx
cmp rax, rcx
jne 0x14002ef7c
lea rcx, [rdi - 0x10]
cmp rax, rcx
jbe 0x14002ef26
cmp rdi, rax
je 0x14002efa6
cmp byte [rsi + rax], 0x2e
je 0x14002efaa
inc rax
cmp rdi, rax
jne 0x14002ef98
xor eax, eax
jmp 0x14002efac
mov al, 1
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x5f], al
mov rax, qword [rsp + 0x68]
test rax, rax
mov qword [rsp + 0x60], r14
je 0x14002f0ac
add rbx, rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xd0], 0
mov byte [rsp + 0xd8], 1
lea rsi, [rsp + 0x1c0]
lea rdi, [rsp + 0xc0]
lea rbx, [rsp + 0xf8]
lea r15, [rsp + 0x5f]
lea r13, [rsp + 0x110]
jmp 0x14002f06a
mov rdx, qword [rsp + 0x1d8]
mov qword [rsp + 0x118], r8
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x110], rax
mov rcx, rsi
mov rdx, rbx
mov r8, r15
mov r9, r13
call fcn.140030ae0
mov rcx, qword [rsp + 0x1c0]
cmp rcx, r12
jne 0x14002f550
mov rcx, rsi
mov rdx, rdi
call fcn.140027c00
mov rax, qword [rsp + 0x1c0]
cmp rax, r12
je 0x14002f0ac
mov r8, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
jne 0x14002f020
test rax, rax
je 0x14002f06a
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14002f06a
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 2
mov qword [rsp + 0xd0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x68], rax
xor r12d, r12d
mov r13d, 0xffffffff
xor r14d, r14d
xor edi, edi
cmp r8, 0x201
jb 0x14002f10f
jmp 0x14002f130
jae 0x14002f1eb
cmp r8, 0x201
jae 0x14002f130
mov esi, 0x200
lea rbx, [rsp + 0x1c0]
mov r15, r8
jmp 0x14002f161
sub r8, rdi
sub r14, rdi
cmp r14, r8
jb 0x14002f1c1
cmp r12, r13
mov edi, 0xffffffff
cmovb rdi, r12
mov qword [rsp + 0xd0], rdi
mov r14, r12
mov rsi, rdi
mov rbx, qword [rsp + 0x68]
mov r15, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov rdx, rbx
mov r8d, r15d
call sub.KERNEL32.dll_GetModuleFileNameW
mov ebp, eax
test eax, eax
jne 0x14002f188
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14002f236
mov r8d, ebp
cmp r15, r8
jne 0x14002f100
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140030779
add r15, r15
cmp r15, r13
cmovae r15, r13
mov r8, r15
cmp r8, 0x201
jb 0x14002f10f
jmp 0x14002f130
lea rcx, [rsp + 0xc0]
mov rdx, rdi
call fcn.14004a5c0
mov r12, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x68], rax
jmp 0x14002f13f
cmp rsi, r8
mov r13, qword [rsp + 0x78]
jb 0x140030779
lea rcx, [rsp + 0x110]
mov rdx, rbx
call fcn.140032400
cmp qword [rsp + 0xc0], 0
movabs r12, 0x8000000000000000
je 0x14002f283
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14002f283
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x118], rax
movabs r12, 0x8000000000000000
mov qword [rsp + 0x110], r12
cmp qword [rsp + 0xc0], 0
je 0x14002f27e
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x118]
cmp rdi, r12
jne 0x14002f2a5
mov rcx, rdi
mov rdx, rsi
call fcn.140030bd0
jmp 0x14002f321
mov rbx, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov rcx, rsi
mov rdx, rbx
call fcn.140033cc0
cmp rbx, rdx
cmovb rdx, rbx
test rax, rax
cmove rdx, rbx
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1d0], rdx
mov qword [rsp + 0x1d8], r14
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0x5f]
lea r9, [rsp + 0x1c0]
call fcn.140030ae0
mov rcx, qword [rsp + 0xc0]
cmp rcx, r12
jne 0x14002f579
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 2
mov qword [rsp + 0xa0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x68], rax
xor r12d, r12d
mov r13d, 0xffffffff
xor esi, esi
xor edi, edi
cmp r8, 0x201
jb 0x14002f37f
jmp 0x14002f3a0
jae 0x14002f459
cmp r8, 0x201
jae 0x14002f3a0
mov r14d, 0x200
lea rbx, [rsp + 0x1c0]
mov r15, r8
jmp 0x14002f3d1
sub r8, rdi
sub rsi, rdi
cmp rsi, r8
jb 0x14002f42f
cmp r12, r13
mov edi, 0xffffffff
cmovb rdi, r12
mov qword [rsp + 0xa0], rdi
mov rsi, r12
mov r14, rdi
mov rbx, qword [rsp + 0x68]
mov r15, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov edx, r15d
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebp, eax
test eax, eax
jne 0x14002f3f6
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14002f506
mov r8d, ebp
cmp r15, r8
jne 0x14002f370
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140030779
add r15, r15
cmp r15, r13
cmovae r15, r13
mov r8, r15
cmp r8, 0x201
jae 0x14002f3a0
jmp 0x14002f37f
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.14004a5c0
mov r12, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
jmp 0x14002f3af
cmp r14, r8
movabs r12, 0x8000000000000000
jb 0x140030779
lea rsi, [rsp + 0x110]
mov rcx, rsi
mov rdx, rbx
call fcn.140032400
mov rdx, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rcx, rsi
call fcn.140033180
cmp byte [rsp + 0x5f], 0
mov r13, qword [rsp + 0x78]
jne 0x14002f4bd
lea rdx, [0x142f4cfe0]
lea rcx, [rsp + 0x110]
mov r8d, 3
call case.0x1400336cb.43
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
lea rcx, [rsp + 0xc0]
call fcn.1400273b0
mov rdi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xc8]
cmp rdi, r12
jne 0x14002f59d
mov rcx, r12
mov rdx, r15
call fcn.140030bd0
mov rcx, r12
jmp 0x14002f5b9
call sub.KERNEL32.dll_GetLastError
mov r15d, eax
shl r15, 0x20
cmp qword [rsp + 0x90], 0
je 0x14002f533
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
or r15, 2
movabs r12, 0x8000000000000000
lea rcx, [r12 + 1]
mov r13, qword [rsp + 0x78]
jmp 0x14002f615
mov r15, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1d0]
mov r13, qword [rsp + 0x78]
mov qword [rsp + 0x68], rcx
cmp rsi, 5
jae 0x14002ede4
jmp case.0x14002ee28.68
mov r15, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rcx
cmp rsi, 5
jae 0x14002ede4
jmp case.0x14002ee28.68
mov rsi, qword [rsp + 0xd0]
mov rcx, r15
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1400304b6
mov rcx, rdi
cmp qword [rsp + 0x110], 0
je 0x14002f5e0
mov r8, qword [rsp + 0x118]
mov rdi, rcx
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rcx, rdi
cmp qword [rsp + 0x90], 0
je 0x14002f607
mov r8, qword [rsp + 0x98]
mov rdi, rcx
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rcx, rdi
lea rax, [r12 + 2]
cmp rcx, rax
jge 0x14002f77c
mov rdx, r15
call fcn.140030c60
lea rcx, [rsp + 0x1c0]
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0x5f]
call fcn.1400261c0
mov rcx, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1c8]
lea rax, [r12 + 2]
cmp rcx, rax
jge 0x14002f774
mov rdx, r15
call fcn.140030c60
lea rdx, [0x142f4cf70]
lea rcx, [rsp + 0x90]
mov r8d, 4
call fcn.1400288c0
mov r14, qword [rsp + 0x90]
cmp r14, r12
je 0x1400304a5
mov rdi, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa0]
add rax, rdi
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rax
mov word [rsp + 0xd0], 0
mov byte [rsp + 0xd8], 1
lea rsi, [rsp + 0x1c0]
lea rbx, [rsp + 0xc0]
lea r15, [rsp + 0xf8]
lea r13, [rsp + 0x5f]
lea rbp, [rsp + 0x110]
jmp 0x14002f72e
mov rdx, qword [rsp + 0x1d8]
mov qword [rsp + 0x118], r8
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x110], rax
mov rcx, rsi
mov rdx, r15
mov r8, r13
mov r9, rbp
call fcn.140030ae0
mov rcx, qword [rsp + 0x1c0]
cmp rcx, r12
jne 0x1400305a8
mov rcx, rsi
mov rdx, rbx
call fcn.140027c00
mov rax, qword [rsp + 0x1c0]
cmp rax, r12
je 0x14003048a
mov r8, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
jne 0x14002f6e4
test rax, rax
je 0x14002f72e
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14002f72e
mov rsi, qword [rsp + 0x1d0]
mov qword [rsp + 0x68], rcx
cmp rsi, 5
jae 0x14002ede4
mov r12, r13
mov rax, qword [rsp + 0x88]
mov r13, qword [rax + 8]
mov rdi, qword [rax + 0x28]
mov r14, qword [rax + 0x30]
movzx esi, byte [rax + 0xc5]
mov rbp, qword [rax + 0x10]
add rbp, r13
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 2
mov qword [rsp + 0x120], 0
lea rbx, [rsp + 0x110]
mov rcx, rbx
call fcn.1400254d0
mov rax, qword [rsp + 0x118]
mov word [rax], 0x22
mov qword [rsp + 0x120], 1
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1c8], rbp
mov word [rsp + 0x1d0], 0
lea rdx, [rsp + 0x1c0]
mov rcx, rbx
call fcn.140031f30
mov rbx, qword [rsp + 0x120]
cmp rbx, qword [rsp + 0x110]
jne 0x14002f846
lea rcx, [rsp + 0x110]
call fcn.1400254d0
mov rax, qword [rsp + 0x118]
mov word [rax + rbx*2], 0x22
inc rbx
mov qword [rsp + 0x120], rbx
shl r14, 3
lea r14, [r14 + r14*4]
lea rbx, [rsp + 0x110]
jmp 0x14002f8bc
lea rbp, [rdi + 0x28]
mov rax, qword [rsp + 0x118]
mov word [rax + r13*2], 0x20
inc r13
mov qword [rsp + 0x120], r13
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.140026510
add r14, 0xffffffffffffffd8
mov rdi, rbp
test rax, rax
jne 0x14002fac3
test r14, r14
je 0x14002f8dd
mov r13, qword [rsp + 0x120]
cmp r13, qword [rsp + 0x110]
jne 0x14002f880
mov rcx, rbx
call fcn.1400254d0
jmp 0x14002f880
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
movabs rdx, 0x8000000000000000
cmp rcx, rdx
je 0x14002faea
mov rsi, qword [rsp + 0x120]
mov dl, 1
mov qword [rsp + 0x190], r15
mov rdi, qword [rsp + 0x68]
mov r13, r12
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x178], rdi
mov dword [rsp + 0x80], edx
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rsi
cmp rsi, rcx
mov rbx, qword [rsp + 0xb8]
jne 0x14002f968
lea rcx, [rsp + 0x198]
call fcn.1400254d0
mov rax, qword [rsp + 0x1a0]
mov word [rax + rsi*2], 0
inc rsi
mov rcx, qword [rsp + 0x88]
cmp byte [rcx + 0xc4], 0
mov eax, 0x400
mov edi, 0x608
cmove edi, eax
mov qword [rsp + 0x1a8], rsi
or edi, dword [rcx + 0xc0]
cmp byte [rsp + 0xb0], 0
movabs r12, 0x8000000000000000
je 0x14002fb2c
mov esi, 2
xor ebp, ebp
xor eax, eax
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rdx + 0x38]
xor eax, eax
cmp qword [rdx + 0x38], r12
cmovne rax, rcx
jne 0x140030148
mov r12, r13
mov eax, 2
xor r13d, r13d
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], r15
mov r15, rbp
mov qword [rsp + 0x60], r14
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x142f530f0], cl
jne 0x1400305fc
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xe0], 0
mov rbp, qword [rsp + 0x88]
lea rcx, [rbp + 0x58]
cmp dword [rbp + 0x58], 6
mov r14d, dword [rbp + 0x68]
cmove rcx, r12
lea rbx, [rbp + 0x78]
cmp dword [rbp + 0x78], 6
cmove rbx, r12
lea r8, [rsp + 0xc0]
mov edx, 0xfffffff6
call fcn.1400314c0
test rax, rax
je 0x140030326
mov rbp, qword [rsp + 0x60]
mov qword [rbp], rdx
mov qword [rbp + 0x10], 2
mov r13, r12
mov edi, dword [rsp + 0x80]
mov rbp, r15
mov r15, qword [rsp + 0x188]
jmp 0x1400309b5
cmp qword [rsp + 0x110], 0
je 0x14002faea
mov r8, qword [rsp + 0x118]
mov rcx, qword [0x142f53058]
xor edx, edx
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
mov r13, r12
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
movzx ebx, byte [rsp + 0xb0]
cmp qword [rsp + 0x68], 0
je 0x14002ed1b
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
jmp 0x14002ed1b
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 2
mov qword [rsp + 0xa0], 0
test rbx, rbx
jne 0x14002fb7b
lea rcx, [rsp + 0x90]
call fcn.1400254d0
mov rax, qword [rsp + 0x98]
mov word [rax], 0
mov qword [rsp + 0xa0], 1
xor eax, eax
mov r8, qword [rsp + 0x70]
test r8, r8
setne al
mov rcx, rbx
cmove rcx, r8
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d0], r8
mov rdx, qword [rsp + 0x180]
mov qword [rsp + 0x1d8], rdx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], 0
mov qword [rsp + 0x1f0], r8
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x200], rcx
test rcx, rcx
mov qword [rsp + 0x78], r13
je 0x1400302a4
lea r9, [rsp + 0x1d0]
xorps xmm6, xmm6
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x188], r15
dec rbx
mov qword [rsp + 0x200], rbx
cmp qword [rsp + 0x1c0], 0
je 0x140030779
mov r8, qword [rsp + 0x1c8]
test r8, r8
je 0x14002fc49
mov rsi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1d8]
jmp 0x14002fce3
mov r8, qword [rsp + 0x1d0]
mov rax, qword [rsp + 0x1d8]
test rax, rax
je 0x14002fcc7
mov rcx, rax
and rcx, 7
je 0x14002fc80
xor edx, edx
mov r8, qword [r8 + 0x3d8]
inc rdx
cmp rcx, rdx
jne 0x14002fc69
mov rcx, rax
sub rcx, rdx
jmp 0x14002fc83
mov rcx, rax
cmp rax, 8
jb 0x14002fcc7
mov rax, qword [r8 + 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 r8, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002fc89
mov qword [rsp + 0x1c0], 1
mov qword [rsp + 0x1c8], r8
movups xmmword [r9], xmm6
xor ebx, ebx
xor esi, esi
movzx eax, word [r8 + 0x3d2]
cmp rbx, rax
jae 0x14002fcf5
mov r13, r8
jmp 0x14002fd2b
mov r13, qword [r8 + 0x160]
test r13, r13
je 0x140030ac3
inc rsi
movzx ebx, word [r8 + 0x3d0]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8, r13
cmp bx, word [r13 + 0x3d2]
jae 0x14002fcf5
test rsi, rsi
je 0x14002fdaa
mov rax, qword [r13 + rbx*8 + 0x3e0]
mov rcx, rsi
dec rcx
je 0x14002fda6
mov rdx, rcx
and rdx, 7
je 0x14002fd5e
xor r8d, r8d
mov rax, qword [rax + 0x3d8]
inc r8
cmp rdx, r8
jne 0x14002fd4c
sub rcx, r8
add rsi, 0xfffffffffffffffe
cmp rsi, 7
jb 0x14002fda6
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 rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x14002fd68
xor ecx, ecx
jmp 0x14002fdb1
lea rcx, [rbx + 1]
mov rax, r13
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], 0
mov qword [rsp + 0x1d8], rcx
imul rcx, rbx, 0x38
mov rax, qword [r13 + rcx + 0x168]
cmp rax, r12
je 0x1400302cb
lea rdx, [rcx + r13]
add rdx, 0x168
mov r8, qword [r13 + rcx + 0x170]
mov r14, qword [r13 + rcx + 0x188]
mov r12, qword [r13 + rcx + 0x190]
mov rsi, qword [r13 + rcx + 0x198]
shl rbx, 5
mov rcx, qword [r13 + rbx]
mov qword [rsp + 0x70], rcx
mov r15, qword [r13 + rbx + 8]
mov r13, qword [r13 + rbx + 0x10]
mov rcx, qword [rdx + 0x10]
add rcx, r8
xor r11d, r11d
mov rdx, r8
jmp 0x14002fe41
xor r11d, r11d
test r9w, r9w
je 0x14003021c
mov r9w, 1
test r11w, r11w
jne 0x14002fe34
cmp rdx, rcx
je 0x14002feee
movzx r11d, byte [rdx]
test r11b, r11b
js 0x14002fe66
inc rdx
mov r10d, r11d
jmp 0x14002fee3
mov r10d, r11d
and r10d, 0x1f
movzx ebp, byte [rdx + 1]
and ebp, 0x3f
cmp r11b, 0xdf
jbe 0x14002feac
movzx ebx, byte [rdx + 2]
shl ebp, 6
and ebx, 0x3f
or ebx, ebp
cmp r11b, 0xf0
jb 0x14002feb9
movzx r11d, byte [rdx + 3]
add rdx, 4
and r10d, 7
shl r10d, 0x12
shl ebx, 6
and r11d, 0x3f
or r11d, ebx
or r10d, r11d
jmp 0x14002fec4
add rdx, 2
shl r10d, 6
or r10d, ebp
jmp 0x14002fee3
add rdx, 3
shl r10d, 0xc
or r10d, ebx
cmp r10d, 0xffff
jbe 0x14002fee3
and r10d, 0x3ff
or r10d, 0xdc00
mov r11d, r10d
jmp 0x14002fe37
xor r11d, r11d
mov r9d, r10d
jmp 0x14002fe37
test rax, rax
je 0x14002ff14
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140030ab3
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
sub rax, rbx
cmp rax, rsi
jb 0x140030128
lea r8, [rsi + rsi]
lea rcx, [rbx + rbx]
add rcx, qword [rsp + 0x98]
mov rdx, r12
call sub.msvcrt.dll_memcpy
add rbx, rsi
mov qword [rsp + 0xa0], rbx
test r14, r14
je 0x14002ff71
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
mov rbx, qword [rsp + 0xa0]
cmp rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0x60]
jne 0x14002ff8d
lea rcx, [rsp + 0x90]
call fcn.1400254d0
mov rax, qword [rsp + 0x98]
mov word [rax + rbx*2], 0x3d
inc rbx
mov qword [rsp + 0xa0], rbx
mov rbx, r15
add r13, r15
xor r8d, r8d
mov rax, r15
movabs r12, 0x8000000000000000
mov r15, qword [rsp + 0x188]
mov r11, qword [rsp + 0x70]
jmp 0x14002ffd7
xor r8d, r8d
test cx, cx
je 0x140030423
mov cx, 1
test r8w, r8w
jne 0x14002ffcb
cmp rax, r13
je 0x140030081
movzx r8d, byte [rax]
test r8b, r8b
js 0x14002fffb
inc rax
mov edx, r8d
jmp 0x140030077
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x140030045
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x140030051
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
jmp 0x14003005b
add rax, 2
shl edx, 6
or edx, r10d
jmp 0x140030077
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x140030077
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x14002ffce
xor r8d, r8d
mov ecx, edx
jmp 0x14002ffce
cmp r11, r12
je 0x140030abb
mov rsi, r11
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], r13
mov word [rsp + 0xd0], 0
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0xc0]
call fcn.140031f30
test rsi, rsi
je 0x1400300d2
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [rsp + 0xa0]
cmp rsi, qword [rsp + 0x90]
jne 0x1400300f1
lea rcx, [rsp + 0x90]
call fcn.1400254d0
mov rax, qword [rsp + 0x98]
mov word [rax + rsi*2], 0
inc rsi
mov qword [rsp + 0xa0], rsi
mov rbx, qword [rsp + 0x200]
test rbx, rbx
lea r9, [rsp + 0x1d0]
jne 0x14002fc0d
jmp 0x1400302a4
lea rcx, [rsp + 0x90]
mov rdx, rbx
mov r8, rsi
call fcn.14004a5c0
mov rbx, qword [rsp + 0xa0]
jmp 0x14002ff30
mov rcx, qword [rdx + 0x40]
mov rdx, qword [rdx + 0x48]
add rdx, rcx
xor r10d, r10d
jmp 0x140030165
xor r10d, r10d
test r8w, r8w
je 0x140030280
mov r8w, 1
test r10w, r10w
jne 0x140030158
cmp rcx, rdx
je 0x140030388
movzx r9d, byte [rcx]
test r9b, r9b
js 0x14003018a
inc rcx
jmp 0x140030211
mov r10d, r9d
and r10d, 0x1f
movzx ebx, byte [rcx + 1]
and ebx, 0x3f
cmp r9b, 0xdf
jbe 0x1400301d4
movzx r11d, byte [rcx + 2]
shl ebx, 6
and r11d, 0x3f
or r11d, ebx
cmp r9b, 0xf0
jb 0x1400301e4
movzx r9d, byte [rcx + 3]
add rcx, 4
and r10d, 7
shl r10d, 0x12
shl r11d, 6
and r9d, 0x3f
or r9d, r11d
or r9d, r10d
jmp 0x1400301f2
add rcx, 2
shl r10d, 6
or r10d, ebx
mov r9d, r10d
jmp 0x140030211
add rcx, 3
shl r10d, 0xc
or r11d, r10d
mov r9d, r11d
cmp r9d, 0xffff
jbe 0x140030211
and r9d, 0x3ff
or r9d, 0xdc00
mov r10d, r9d
jmp 0x14003015b
xor r10d, r10d
mov r8d, r9d
jmp 0x14003015b
lea rsi, [0x142f4cf58]
test rax, rax
je 0x140030236
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r13, qword [rsp + 0x78]
mov r8, r15
cmp qword [rsp + 0x70], 0
mov r15, qword [rsp + 0x188]
je 0x14003025c
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
test r14, r14
je 0x14003037e
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
mov r14, qword [rsp + 0x60]
jmp 0x140030445
mov r12, r13
lea r13, [0x142f4cf58]
mov qword [r14], r13
mov qword [r14 + 0x10], 2
mov r13, r12
mov edi, dword [rsp + 0x80]
jmp 0x140030a33
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x1c0]
call fcn.14002b630
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400302cb
call fcn.1400253d0
lea rcx, [rsp + 0x1c0]
call fcn.1400310d0
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
cmp rbx, rbp
jne 0x140030302
lea rcx, [rsp + 0x90]
call fcn.1400254d0
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov word [rsi + rbx*2], 0
mov rax, rsi
cmp rbp, r12
mov r13, qword [rsp + 0x78]
jne 0x14002f9bc
jmp 0x140030473
mov qword [rsp + 0xb0], rdx
lea r8, [rsp + 0xd0]
lea rcx, [rbp + 0x68]
cmp r14d, 6
mov r14, r12
cmove rcx, r12
mov edx, 0xfffffff5
call fcn.1400314c0
mov r12, rdx
test rax, rax
je 0x1400304d5
mov rbp, qword [rsp + 0x60]
mov qword [rbp], r12
mov qword [rbp + 0x10], 2
mov r13, r14
mov edi, dword [rsp + 0x80]
mov rbp, r15
jmp 0x1400309a0
mov r14, qword [rsp + 0x60]
jmp 0x140030445
mov qword [rsp + 0x70], rbp
mov rbp, r15
mov r15, r12
mov r12, r13
mov rcx, qword [rax + 8]
mov rax, qword [rax + 0x10]
add rax, rcx
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], rax
mov word [rsp + 0x1d0], 0
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x1c0]
call fcn.140032240
mov rcx, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x120]
cmp rbx, rcx
jne 0x1400303fa
lea rcx, [rsp + 0x110]
call fcn.1400254d0
mov rcx, qword [rsp + 0x110]
mov r13, qword [rsp + 0x118]
mov word [r13 + rbx*2], 0
mov rax, r13
cmp rcx, r15
mov r15, rbp
mov rbp, qword [rsp + 0x70]
jne 0x14002f9ed
jmp 0x14003028a
lea rsi, [0x142f4cf58]
test r11, r11
je 0x140030440
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov r13, qword [rsp + 0x78]
lea rcx, [rsp + 0x1c0]
call fcn.1400310d0
cmp qword [rsp + 0x90], 0
je 0x140030473
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov qword [r14], rsi
mov qword [r14 + 0x10], 2
mov edi, dword [rsp + 0x80]
jmp 0x140030a49
test r14, r14
mov r13, qword [rsp + 0x78]
je 0x1400304a5
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
lea r15, [0x142f4cfc8]
mov r14, qword [rsp + 0x60]
jmp 0x14002ed03
test rdi, rdi
je 0x14002f4fe
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
jmp 0x14002f4fe
lea r8, [rsp + 0xe0]
mov rcx, rbx
mov edx, 0xfffffff4
call fcn.1400314c0
test rax, rax
je 0x14003060d
mov rbp, qword [rsp + 0x60]
mov qword [rbp], rdx
mov qword [rbp + 0x10], 2
mov r13, r14
mov edi, dword [rsp + 0x80]
jmp 0x140030995
mov qword [rsp + 0x190], rcx
mov rcx, qword [rsp + 0x88]
mov r9, qword [rcx + 0x28]
mov rax, qword [rcx + 0x30]
movzx ecx, byte [rcx + 0xc5]
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x1c0]
mov rdx, r15
mov r8, rsi
call fcn.140026980
mov rcx, qword [rsp + 0x1c0]
mov rax, qword [rsp + 0x1c8]
cmp rcx, r12
mov r14, qword [rsp + 0x60]
jne 0x1400305ed
mov qword [r14], rax
mov qword [r14 + 0x10], 2
test rdi, rdi
movzx ebx, byte [rsp + 0xb0]
mov rsi, qword [rsp + 0x70]
je 0x14002fb0a
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, qword [rsp + 0x190]
call sub.KERNEL32.dll_HeapFree
jmp 0x14002fb0a
mov r15, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1d0]
test r14, r14
je 0x1400305d4
mov rbx, rcx
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rcx, rbx
mov r13, qword [rsp + 0x78]
mov qword [rsp + 0x68], rcx
cmp rsi, 5
jae 0x14002ede4
jmp case.0x14002ee28.68
mov rsi, qword [rsp + 0x1d0]
xor edx, edx
jmp 0x14002f91f
lea rcx, [0x142f530f0]
call fcn.140028bd0
jmp 0x14002fa35
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x144], xmm0
movdqu xmmword [rsp + 0x138], xmm0
movdqu xmmword [rsp + 0x128], xmm0
movdqu xmmword [rsp + 0x118], xmm0
movdqu xmmword [rsp + 0x158], xmm0
movdqu xmmword [rsp + 0x168], xmm0
test rdx, rdx
mov rax, qword [rsp + 0xb0]
jne 0x14003065e
test r12, r12
jne 0x14003065e
test rax, rax
je 0x140030681
mov dword [rsp + 0x14c], 0x100
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x1b8], rdx
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + 0xb8]
test rbx, rbx
je 0x14003077b
add rdx, 0xa8
mov dword [rsp + 0x110], 0x70
lea rcx, [rsp + 0xf8]
call fcn.140031b40
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x140030965
or edi, 0x80000
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x110]
movdqu xmm1, xmmword [rsp + 0x120]
movdqu xmm2, xmmword [rsp + 0x130]
movdqu xmm3, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x1c0], xmm0
movdqa xmmword [rsp + 0x1d0], xmm1
movdqa xmmword [rsp + 0x1e0], xmm2
movdqa xmmword [rsp + 0x1f0], xmm3
movups xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x200], xmm0
movdqu xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0x210], xmm0
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x228], rcx
lea rax, [rsp + 0x1c0]
jmp 0x14003078e
ud2
mov dword [rsp + 0x110], 0x68
lea rax, [rsp + 0x110]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x190]
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x14003091a
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movups xmm2, xmmword [rsp + 0xe0]
mov rbp, qword [rsp + 0x60]
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rbp], xmm0
test rbx, rbx
mov r13, r14
mov edi, dword [rsp + 0x80]
je 0x14003083a
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x1b0]
call fcn.140031e90
mov rcx, qword [rsp + 0x1b8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0xb0]
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
xchg byte [0x142f530f0], al
cmp al, 2
jne 0x140030874
lea rcx, [0x142f530f0]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
cmp qword [rsp + 0x70], 0
je 0x140030892
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, qword [rsp + 0x180]
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400308a8
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x198], 0
mov rsi, qword [rsp + 0x188]
je 0x1400308d1
mov r8, qword [rsp + 0x1a0]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x178], 0
je 0x1400308f2
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, qword [rsp + 0x190]
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x68], 0
sete al
or dil, al
jne 0x14002ed9c
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
jmp 0x14002ed9c
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rbp, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rbp + 0x10], 2
test rbx, rbx
mov r13, r14
mov edi, dword [rsp + 0x80]
je 0x140030988
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x1b0]
call fcn.140031e90
jmp 0x140030988
call fcn.1400288b0
ud2
mov rax, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rbp + 0x10], 2
mov r13, r14
mov edi, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x1b8]
call sub.KERNEL32.dll_CloseHandle
mov rbp, r15
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov r15, qword [rsp + 0x188]
mov rcx, qword [rsp + 0xb0]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0xc0], 0
je 0x1400309cd
mov rcx, qword [rsp + 0xc8]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0xd0], 0
je 0x1400309e5
mov rcx, qword [rsp + 0xd8]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0xe0], 0
je 0x1400309fd
mov rcx, qword [rsp + 0xe8]
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
xchg byte [0x142f530f0], al
cmp al, 2
jne 0x140030a15
lea rcx, [0x142f530f0]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
cmp qword [rsp + 0x70], 0
je 0x140030a33
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, qword [rsp + 0x180]
call sub.KERNEL32.dll_HeapFree
test rbp, rbp
je 0x140030a49
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x198], 0
je 0x140030a6a
mov r8, qword [rsp + 0x1a0]
mov rcx, qword [0x142f53058]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x178], 0
je 0x140030a8b
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, qword [rsp + 0x190]
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x68], 0
sete al
or dil, al
jne 0x14002ed9c
mov rcx, qword [0x142f53058]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
jmp 0x14002ed9c
mov rsi, r8
jmp 0x140030236
mov rsi, rbx
jmp 0x140030440
mov edx, 8
mov rcx, r8
call fcn.140006a10
ud2