Function at 0x14001f400
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x8b8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x820], xmm8
movdqa xmmword [rbp + 0x810], xmm7
movaps xmmword [rbp + 0x800], xmm6
and rsp, 0xffffffffffffff80
mov r14, rdx
mov qword [rsp + 0xc0], rcx
mov rax, qword [rdx + 0x10]
test rax, rax
jne 0x14001f6c4
lea rdx, [0x1428c1938]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140029d30
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x14001f56b
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
cmp byte [rsp + 0x218], 0
jne 0x14001f52e
test r9, r9
je 0x14001f558
lea rax, [r8 + r9]
mov r10, r8
jmp 0x14001f4c8
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop
mov r10, rdx
cmp rdx, rax
je 0x14001f52e
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x14001f4c0
cmp r11b, 0xe0
jb 0x14001f4b3
cmp r11b, 0xed
jne 0x14001f503
cmp rdx, rax
je 0x14001f52e
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x14001f52e
cmp byte [r10 + 1], 0x9f
ja 0x1400216ad
add r10, 3
mov rdx, r10
jmp 0x14001f4c0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x14001f4c0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x14001f4c0
test r9, r9
je 0x14001f558
cmp r9, 1
jne 0x14002148f
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x14001f558
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
jne 0x14002155f
test rcx, rcx
je 0x14001f56b
mov rcx, qword [0x1428c80c8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
lea rdx, [0x1428c1949]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140029d30
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x14001f68b
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
cmp byte [rsp + 0x218], 0
jne 0x14001f64e
test r9, r9
je 0x14001f678
lea rax, [r8 + r9]
mov r10, r8
jmp 0x14001f5e8
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop dword [rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x14001f64e
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x14001f5e0
cmp r11b, 0xe0
jb 0x14001f5d0
cmp r11b, 0xed
jne 0x14001f623
cmp rdx, rax
je 0x14001f64e
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x14001f64e
cmp byte [r10 + 1], 0x9f
ja 0x1400216b5
add r10, 3
mov rdx, r10
jmp 0x14001f5e0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x14001f5e0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x14001f5e0
test r9, r9
je 0x14001f678
cmp r9, 1
jne 0x1400214f2
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x14001f678
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
jne 0x140021659
test rcx, rcx
je 0x14001f68b
mov rcx, qword [0x1428c80c8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x220], xmm0
movdqa xmmword [rsp + 0x210], xmm0
movdqa xmmword [rsp + 0x200], xmm0
lea rcx, [rsp + 0x200]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x220]
cmp eax, 1
adc eax, 0
cmp rax, 0xffff
mov esi, 0xffff
mov qword [rsp + 0x70], rax
cmovb rsi, rax
mov qword [rsp + 0x88], r14
movzx eax, byte [r14 + 0x59]
mov byte [rsp + 0x67], al
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea rcx, [rsp + 0x200]
mov rdx, rsi
call fcn.140021eb0
mov rax, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x228]
sub rax, rdx
cmp rax, rsi
jae 0x14001f75c
lea rcx, [rsp + 0x218]
mov r8, rsi
call fcn.140021f40
movzx r12d, byte [rsp + 0x67]
lea r14, [rsp + 0x200]
mov qword [rsp + 0x80], rsi
mov r13, rsi
jmp 0x14001f7ac
mov rdi, qword [rsp + 0x220]
mov rax, r15
shl rax, 4
mov qword [rdi + rax], rsi
mov byte [rdi + rax + 8], bl
lea rsi, [r15 + 1]
mov qword [rsp + 0x228], rsi
dec r13
je 0x14001f8fa
mov ecx, 0x40
call fcn.140023750
mov rdi, rax
movzx eax, byte [0x1428c8100]
mov edx, 0x10
xor ecx, ecx
call fcn.1400321e0
mov r15, rax
test r12b, r12b
je 0x14001f820
test r15, r15
je 0x1400216d8
mov qword [r15], rdi
mov qword [r15 + 8], 0x40
movzx eax, byte [0x1428c8100]
mov edx, 0x200
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rsi, rax
and rsi, 0xffffffffffffff80
sub rsi, 0xffffffffffffff80
xor ebx, ebx
jmp 0x14001f85d
test r15, r15
je 0x1400216d8
mov qword [r15], rdi
mov qword [r15 + 8], 0x40
movzx eax, byte [0x1428c8100]
mov edx, 0x200
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rsi, rax
and rsi, 0xffffffffffffff80
sub rsi, 0xffffffffffffff80
mov bl, 1
mov qword [rsi - 8], rax
mov qword [rsi], 1
mov qword [rsi + 8], 1
mov qword [rsi + 0x80], r15
movaps xmmword [rsi + 0x100], xmm6
lock inc qword [rsi]
jle 0x1400216d8
mov r15, qword [rsp + 0x210]
cmp r15, qword [rsp + 0x200]
jne 0x14001f8a2
mov rcx, r14
call fcn.140021fe0
mov rax, qword [rsp + 0x208]
mov rcx, r15
shl rcx, 5
mov qword [rax + rcx], rsi
mov qword [rax + rcx + 8], rdi
mov qword [rax + rcx + 0x10], 0x40
mov byte [rax + rcx + 0x18], bl
inc r15
mov qword [rsp + 0x210], r15
mov r15, qword [rsp + 0x228]
cmp r15, qword [rsp + 0x218]
jne 0x14001f780
lea rcx, [rsp + 0x218]
call fcn.140022080
jmp 0x14001f780
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea rcx, [rsp + 0x200]
mov rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.140021eb0
mov rax, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x228]
sub rax, rdx
cmp rax, rbx
jae 0x14001f9ee
lea rcx, [rsp + 0x218]
mov r8, rbx
call fcn.140021f40
jmp 0x14001f9ee
mov r13, qword [rsp + 0x220]
mov rax, r14
shl rax, 4
mov qword [r13 + rax], r12
mov byte [r13 + rax + 8], 0
inc r14
mov qword [rsp + 0x228], r14
dec rbx
je 0x14001fb01
mov ecx, 0x40
call fcn.140023750
mov r14, rax
movzx eax, byte [0x1428c8100]
mov edx, 0x10
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r13, rax
mov qword [rax], r14
mov qword [rax + 8], 0x40
movzx eax, byte [0x1428c8100]
mov edx, 0x200
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r12, rax
and r12, 0xffffffffffffff80
mov qword [r12 + 0x78], rax
mov qword [r12 + 0x80], 1
mov qword [r12 + 0x88], 1
mov qword [r12 + 0x100], r13
movaps xmmword [r12 + 0x180], xmm6
lock inc qword [r12 + 0x80]
jle 0x1400216d8
mov r13, qword [rsp + 0x210]
cmp r13, qword [rsp + 0x200]
jne 0x14001faa4
lea rcx, [rsp + 0x200]
call fcn.140021fe0
sub r12, 0xffffffffffffff80
mov rax, qword [rsp + 0x208]
mov rcx, r13
shl rcx, 5
mov qword [rax + rcx], r12
mov qword [rax + rcx + 8], r14
mov qword [rax + rcx + 0x10], 0x40
mov byte [rax + rcx + 0x18], 0
inc r13
mov qword [rsp + 0x210], r13
mov r14, qword [rsp + 0x228]
cmp r14, qword [rsp + 0x218]
jne 0x14001f9c0
lea rcx, [rsp + 0x218]
call fcn.140022080
jmp 0x14001f9c0
mov rbx, qword [rsp + 0x218]
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0xb0], rax
movdqu xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0xa0], xmm0
test rsi, rsi
je 0x140020f93
movabs rax, 0x333333333333333
cmp rsi, rax
mov r12, qword [rsp + 0x80]
ja 0x1400216d8
lea rax, [rsi*8]
lea rdx, [rax + rax*4]
movzx eax, byte [0x1428c8100]
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rcx, rsi
shl rcx, 4
add rcx, rdi
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], 0
add rax, 0x20
movabs rdx, 0xfffffffffffffff
and r15, rdx
inc r15
pxor xmm0, xmm0
mov rdx, rdi
nop word cs:[rax + rax]
mov r8, qword [rdx]
movzx r9d, byte [rdx + 8]
movdqu xmmword [rax - 0x20], xmm0
mov qword [rax - 0x10], 0
mov qword [rax - 8], r8
mov byte [rax], r9b
add rax, 0x28
add rdx, 0x10
cmp rdx, rcx
jne 0x14001fbc0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x210], r15
test rax, rax
je 0x14001fc0c
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x110], rax
movdqu xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x100], xmm0
mov rdx, r12
shl rdx, 7
movzx eax, byte [0x1428c8100]
sub rdx, 0xffffffffffffff80
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r8d, eax
and r8d, 0x7f
mov rcx, rax
and rcx, 0xffffffffffffff80
mov qword [rcx + 0x78], rax
sub rcx, 0xffffffffffffff80
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x208], rcx
mov qword [rsp + 0x210], 0
mov ecx, r12d
and ecx, 3
cmp qword [rsp + 0x70], 4
jae 0x14001fc94
xor edx, edx
jmp 0x14001fce5
and r12d, 0xfffc
mov r9, rax
sub r9, r8
add r9, 0x200
xor edx, edx
nop word [rax + rax]
mov qword [r9 - 0x180], 0
mov qword [r9 - 0x100], 0
mov qword [r9 - 0x80], 0
add rdx, 4
mov qword [r9], 0
add r9, 0x200
cmp r12, rdx
jne 0x14001fcb0
test rcx, rcx
je 0x14001fd26
mov r9, rdx
shl r9, 7
sub r9, r8
add rax, r9
add rax, 0x80
neg rcx
xor r8d, r8d
nop word cs:[rax + rax]
mov qword [rax], 0
sub rax, 0xffffffffffffff80
dec r8
cmp rcx, r8
jne 0x14001fd10
sub rdx, r8
movdqu xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rdx
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], 0
movdqu xmmword [rsp + 0x218], xmm0
mov qword [rsp + 0x228], 0
movdqa xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], 0
movdqu xmmword [rsp + 0x248], xmm0
mov qword [rsp + 0x258], 0
movdqa xmmword [rsp + 0x260], xmm0
mov qword [rsp + 0x270], 0
movdqu xmmword [rsp + 0x278], xmm0
mov qword [rsp + 0x288], 0
movdqa xmmword [rsp + 0x290], xmm0
mov qword [rsp + 0x2a0], 0
movdqu xmmword [rsp + 0x2a8], xmm0
mov qword [rsp + 0x2b8], 0
movdqa xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], 0
movdqu xmmword [rsp + 0x2d8], xmm0
mov qword [rsp + 0x2e8], 0
movdqa xmmword [rsp + 0x2f0], xmm0
mov qword [rsp + 0x300], 0
movdqu xmmword [rsp + 0x308], xmm0
mov qword [rsp + 0x318], 0
movdqa xmmword [rsp + 0x320], xmm0
mov qword [rsp + 0x330], 0
movdqu xmmword [rsp + 0x338], xmm0
mov qword [rsp + 0x348], 0
movdqa xmmword [rsp + 0x350], xmm0
mov qword [rsp + 0x360], 0
movdqu xmmword [rsp + 0x368], xmm0
mov qword [rsp + 0x378], 0
movdqa xmmword [rsp + 0x380], xmm0
mov qword [rsp + 0x390], 0
movdqu xmmword [rsp + 0x398], xmm0
mov qword [rsp + 0x3a8], 0
movdqa xmmword [rsp + 0x3b0], xmm0
mov qword [rsp + 0x3c0], 0
movdqu xmmword [rsp + 0x3c8], xmm0
mov qword [rsp + 0x3d8], 0
movdqa xmmword [rsp + 0x3e0], xmm0
mov qword [rsp + 0x3f0], 0
movdqu xmmword [rsp + 0x3f8], xmm0
mov qword [rsp + 0x408], 0
movdqa xmmword [rsp + 0x410], xmm0
mov qword [rsp + 0x420], 0
movdqu xmmword [rsp + 0x428], xmm0
mov qword [rsp + 0x438], 0
movdqa xmmword [rsp + 0x440], xmm0
mov qword [rsp + 0x450], 0
movdqu xmmword [rsp + 0x458], xmm0
mov qword [rsp + 0x468], 0
movdqa xmmword [rsp + 0x470], xmm0
mov qword [rsp + 0x480], 0
movdqu xmmword [rsp + 0x488], xmm0
mov qword [rsp + 0x498], 0
movdqa xmmword [rsp + 0x4a0], xmm0
mov qword [rsp + 0x4b0], 0
movdqu xmmword [rsp + 0x4b8], xmm0
mov qword [rsp + 0x4c8], 0
movdqa xmmword [rsp + 0x4d0], xmm0
mov qword [rsp + 0x4e0], 0
movdqu xmmword [rsp + 0x4e8], xmm0
mov qword [rsp + 0x4f8], 0
movdqa xmmword [rsp + 0x500], xmm0
mov qword [rsp + 0x510], 0
movdqu xmmword [rsp + 0x518], xmm0
mov qword [rsp + 0x528], 0
movdqa xmmword [rsp + 0x530], xmm0
mov qword [rsp + 0x540], 0
movdqu xmmword [rsp + 0x548], xmm0
mov qword [rsp + 0x558], 0
movdqa xmmword [rsp + 0x560], xmm0
mov qword [rsp + 0x570], 0
movdqu xmmword [rsp + 0x578], xmm0
mov qword [rsp + 0x588], 0
movdqa xmmword [rsp + 0x590], xmm0
mov qword [rsp + 0x5a0], 0
movdqu xmmword [rsp + 0x5a8], xmm0
mov qword [rsp + 0x5b8], 0
movdqa xmmword [rsp + 0x5c0], xmm0
mov qword [rsp + 0x5d0], 0
movdqu xmmword [rsp + 0x5d8], xmm0
mov qword [rsp + 0x5e8], 0
movdqa xmmword [rsp + 0x5f0], xmm0
mov qword [rsp + 0x600], 0
movdqu xmmword [rsp + 0x608], xmm0
mov qword [rsp + 0x618], 0
movdqa xmmword [rsp + 0x620], xmm0
mov qword [rsp + 0x630], 0
movdqu xmmword [rsp + 0x638], xmm0
mov qword [rsp + 0x648], 0
movdqa xmmword [rsp + 0x650], xmm0
mov qword [rsp + 0x660], 0
movdqu xmmword [rsp + 0x668], xmm0
mov qword [rsp + 0x678], 0
movdqa xmmword [rsp + 0x680], xmm0
mov qword [rsp + 0x690], 0
movdqu xmmword [rsp + 0x698], xmm0
mov qword [rsp + 0x6a8], 0
movdqa xmmword [rsp + 0x6b0], xmm0
mov qword [rsp + 0x6c0], 0
movdqu xmmword [rsp + 0x6c8], xmm0
mov qword [rsp + 0x6d8], 0
movdqa xmmword [rsp + 0x6e0], xmm0
mov qword [rsp + 0x6f0], 0
movdqu xmmword [rsp + 0x6f8], xmm0
mov qword [rsp + 0x708], 0
movdqa xmmword [rsp + 0x710], xmm0
mov qword [rsp + 0x720], 0
movdqu xmmword [rsp + 0x728], xmm0
mov qword [rsp + 0x738], 0
movdqa xmmword [rsp + 0x740], xmm0
mov qword [rsp + 0x750], 0
movdqu xmmword [rsp + 0x758], xmm0
mov qword [rsp + 0x768], 0
movdqa xmmword [rsp + 0x770], xmm0
mov qword [rsp + 0x780], 0
movdqu xmmword [rsp + 0x788], xmm0
mov qword [rsp + 0x798], 0
movdqa xmmword [rsp + 0x7a0], xmm0
mov qword [rsp + 0x7b0], 0
movdqu xmmword [rsp + 0x7b8], xmm0
mov qword [rsp + 0x7c8], 0
movdqa xmmword [rsp + 0x7d0], xmm0
mov qword [rsp + 0x7e0], 0
movzx eax, byte [0x1428c8100]
mov edx, 0x5f0
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rdi, rax
mov qword [rsp + 0x120], rbx
mov qword [rax], 0
mov rcx, rax
add rcx, 8
lea rdx, [rsp + 0x200]
mov r8d, 0x5e8
call sub.msvcrt.dll_memcpy
movdqa xmm0, xmmword [rsp + 0xa0]
movdqu xmmword [rsp + 0x868], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x878], rax
mov rax, qword [rsp + 0x88]
movups xmm6, xmmword [rax + 0x18]
movdqu xmm7, xmmword [rax + 0x38]
movups xmm8, xmmword [rax + 0x48]
mov qword [rax + 0x18], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x48], 0
movzx eax, byte [0x1428c8100]
mov edx, 0x300
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rdx, rax
and rax, 0xffffffffffffff80
lea rcx, [rax + 0x80]
mov qword [rsp + 0x70], rcx
mov qword [rax + 0x78], rdx
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], 1
mov qword [rax + 0x100], 0
mov qword [rax + 0x108], rdi
mov qword [rax + 0x180], 0
mov qword [rax + 0x188], rdi
mov byte [rax + 0x200], 0
movups xmm0, xmmword [rsp + 0x861]
movdqu xmm1, xmmword [rsp + 0x870]
movups xmmword [rax + 0x201], xmm0
movdqu xmmword [rax + 0x210], xmm1
movaps xmmword [rax + 0x220], xmm6
movdqa xmmword [rax + 0x230], xmm7
movaps xmmword [rax + 0x240], xmm8
mov qword [rax + 0x250], 1
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + 0x258], xmm0
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 0x268], rcx
mov qword [rax + 0x270], 0
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x288], rcx
movdqa xmm0, xmmword [rsp + 0x100]
movdqu xmmword [rax + 0x278], xmm0
mov rcx, qword [rsp + 0x98]
mov rsi, rcx
shl rsi, 5
mov rbx, qword [rsp + 0x90]
add rsi, rbx
shl r14, 4
add r14, r13
mov r12, r13
test rcx, rcx
je 0x140020ffb
add rax, 0x250
mov qword [rsp + 0x150], rax
xorps xmm6, xmm6
movdqa xmm7, xmmword [0x140059d70]
lea rcx, [rsp + 0x200]
xor eax, eax
mov qword [rsp + 0x80], rax
mov r12, r13
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xd8], rsi
jmp 0x140020499
lea rcx, [rsp + 0x200]
inc qword [rsp + 0x80]
cmp rbx, rsi
je 0x14002102c
mov rax, rbx
add rbx, 0x20
movzx edi, byte [rax + 0x18]
cmp dil, 2
je 0x140020ffb
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x210], rdx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x200], xmm0
mov byte [rsp + 0x218], dil
mov r9d, dword [rax + 0x19]
mov edx, dword [rax + 0x1c]
lea r8, [rsp + 0x219]
mov dword [r8 + 3], edx
mov dword [r8], r9d
cmp r12, r14
je 0x140020fdd
lea r8, [rax + 0x19]
mov r15, qword [r12]
movzx r13d, byte [r12 + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x1f0], rdx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1e0], xmm0
mov eax, dword [r8]
mov edx, dword [r8 + 3]
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0xbb], edx
mov rsi, qword [rsp + 0x88]
mov rdx, qword [rsi + 0x28]
test rdx, rdx
je 0x140020550
mov rax, qword [rsi + 0x30]
mov r8, qword [rsp + 0x80]
call qword [rax + 0x20]
jmp 0x140020562
movabs rax, 0x8000000000000000
mov qword [rsp + 0x200], rax
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
mov rsi, qword [rsp + 0x70]
lock inc qword [rsi]
jle 0x1400216d8
add r12, 0x10
mov rax, qword [rsp + 0x210]
lea rdx, [rsp + 0x188]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rsp + 0x200]
movups xmmword [rdx], xmm0
mov qword [rsp + 0x178], r8
mov qword [rsp + 0x180], r9
mov rax, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x1b0]
mov qword [rcx + 0x10], rax
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rcx], xmm0
mov byte [rsp + 0x1c8], dil
mov eax, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xbb]
mov dword [rdx + 0x44], ecx
mov dword [rdx + 0x41], eax
mov qword [rsp + 0x1a0], r15
mov byte [rsp + 0x1a8], r13b
mov qword [rsp + 0x1d0], rsi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1d8], rax
test rax, rax
jne 0x140020720
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x58], 0
je 0x140020720
xor ecx, ecx
call fcn.14001ee20
test rax, rax
mov r13, qword [rsp + 0xd0]
je 0x1400216d8
cmp qword [rax], 0
lea rcx, [rsp + 0x200]
jne 0x1400211d1
lea rdx, [rsp + 0x178]
mov r15, rcx
call fcn.14001e010
movzx eax, byte [0x1428c8100]
mov edx, 0x200
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rdi, rax
and rdi, 0xffffffffffffff80
mov qword [rdi + 0x78], rax
sub rdi, 0xffffffffffffff80
mov r8d, 0x180
mov rcx, rdi
mov rdx, r15
call sub.msvcrt.dll_memcpy
xor ecx, ecx
call fcn.14001ee20
test rax, rax
je 0x1400216d8
cmp qword [rax], 0
jne 0x1400216d8
mov qword [rax], rdi
cmp qword [rsi + 0x208], 0
je 0x1400216d8
mov r15, qword [rsi + 0x200]
lea rdi, [r15 + 4]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r15 + 4], cl
jne 0x140020a25
mov byte [r15 + 5], 1
lock inc dword [r15]
mov rcx, r15
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll
xor eax, eax
xchg byte [r15 + 4], al
cmp al, 2
mov rsi, qword [rsp + 0xd8]
jne 0x140020480
mov rcx, rdi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x140020480
mov rcx, qword [rsp + 0x188]
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x1a0]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movdqa xmmword [rsp + 0x200], xmm0
movdqa xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x230], xmm3
movabs rax, 0x8000000000000000
mov r10, rax
mov qword [rsp + 0x158], rcx
cmp rcx, rax
mov rsi, qword [rsp + 0xd8]
movabs r13, 0x8080808080808080
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x148], r8
mov qword [rsp + 0x140], r9
je 0x14002083d
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x140020806
js 0x1400216d8
movzx eax, byte [0x1428c8100]
xor ecx, ecx
mov rdx, r15
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov rdi, rax
mov rax, r15
mov qword [rsp + 0x68], r15
jmp 0x140020812
mov edi, 1
xor eax, eax
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov rdx, qword [rsp + 0x138]
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rdx, r15
mov r8, qword [rsp + 0x148]
mov r9, qword [rsp + 0x140]
mov r10, qword [rsp + 0x68]
mov r15, r9
test r8, r8
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0x78], rdx
je 0x1400208ce
movabs rax, 0x8000000000000000
cmp r10, rax
mov qword [rsp + 0x68], r15
jne 0x1400208f5
movzx eax, byte [0x1428c8100]
mov edx, 0x38
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 2
mov rax, qword [0x1428c80e8]
nop word [rax + rax]
cmp rax, 0xffffffffffffffff
je 0x1400216d8
lea rcx, [rax + 1]
lock cmpxchg qword [0x1428c80e8], rcx
jne 0x1400208b0
jmp 0x140020d29
mov r15, qword [0x1428c80e0]
test r15, r15
je 0x14002094f
dec r15
movabs rax, 0x8000000000000000
cmp r10, rax
mov qword [rsp + 0x68], r15
je 0x14002086a
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], rdx
cmp rdx, 0xf
ja 0x140020937
test rdx, rdx
je 0x1400209cb
xor eax, eax
nop
cmp byte [rdi + rax], 0
je 0x1400216d8
inc rax
cmp rdx, rax
jne 0x140020920
jmp 0x140020bb2
lea rax, [rdi + 7]
and rax, 0xfffffffffffffff8
sub rax, rdi
jne 0x14002099d
lea rcx, [rdx - 0x10]
xor eax, eax
jmp 0x140020b60
mov qword [rsp + 0x68], r10
mov r8d, 0xe
lea rcx, [rsp + 0xe0]
lea rdx, [0x1428c1fb8]
call fcn.140029d30
mov rdi, qword [rsp + 0xe0]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x1400209ea
mov r15d, 0x200000
mov rdi, qword [rsp + 0xc8]
mov r10, qword [rsp + 0x68]
jmp 0x140020a96
cmp rax, rdx
cmovae rax, rdx
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rdi + rcx], 0
je 0x1400216d8
inc rcx
cmp rax, rcx
jne 0x1400209b0
lea rcx, [rdx - 0x10]
jmp 0x140020b88
mov rax, rdi
cmp r10, rdx
jne 0x140020c46
lea r8, [rdx + 1]
mov rdx, r8
not rdx
shr rdx, 0x3f
jmp 0x140020bf5
mov r15, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
lea rcx, [rsp + 0x100]
mov rdx, r15
call fcn.1400123a0
cmp qword [rsp + 0x100], 0
je 0x140020a32
mov r8, r15
mov r15d, 0x200000
mov r10, qword [rsp + 0x68]
jmp 0x140020a76
mov rcx, rdi
call fcn.1400300d0
jmp 0x1400206e7
mov r11, qword [rsp + 0x110]
test r11, r11
mov r10, qword [rsp + 0x68]
je 0x140020a6d
mov rcx, qword [rsp + 0x108]
cmp r11, 1
jne 0x140020ac3
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x140020a6d
mov r8, r15
mov r11d, 1
cmp eax, 0x2d
je 0x140020a70
jmp 0x140020b23
mov r8, r15
mov r15d, 0x200000
test rdi, rdi
je 0x140020a8e
mov rcx, qword [0x1428c80c8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r10, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xc8]
lea rax, [r15 + 1]
mov qword [0x1428c80e0], rax
mov rdx, qword [rsp + 0x78]
movabs rax, 0x8000000000000000
cmp r10, rax
mov qword [rsp + 0x68], r15
je 0x14002086a
jmp 0x1400208f5
cmp byte [rcx], 0x2b
jne 0x140020b1a
mov r8, r15
inc rcx
lea rax, [r11 - 1]
cmp r11, 0x12
mov r11, rax
jb 0x140020b23
xor r9d, r9d
xor r15d, r15d
mov rax, r15
mov edx, 0xa
mul rdx
jo 0x140020a70
mov r15, rax
movzx eax, byte [rcx + r9]
add eax, 0xffffffd0
cmp eax, 9
ja 0x140020a70
mov eax, eax
add r15, rax
jb 0x140020a70
inc r9
cmp r11, r9
jne 0x140020ae1
jmp 0x140020a76
mov r8, r15
cmp r11, 0x11
jae 0x140020adb
xor eax, eax
xor r15d, r15d
nop dword [rax + rax]
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140020a70
lea r9, [r15 + r15*4]
mov edx, edx
lea r15, [rdx + r9*2]
inc rax
cmp r11, rax
jne 0x140020b30
jmp 0x140020a76
movdqu xmm0, xmmword [rdi + rax]
movdqa xmm1, xmm0
paddq xmm1, xmm7
pandn xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rdx, xmm1
test rdx, r13
jne 0x140020b8d
add rax, 0x10
cmp rax, rcx
jbe 0x140020b60
mov rdx, qword [rsp + 0x78]
cmp rax, rdx
je 0x140020bb2
nop word [rax + rax]
cmp byte [rdi + rax], 0
je 0x1400216d8
inc rax
cmp rdx, rax
jne 0x140020ba0
mov rax, rdi
cmp r10, rdx
jne 0x140020c46
cmp rdx, 0xffffffffffffffff
je 0x1400216d8
lea r8, [rdx + 1]
mov rax, rdx
mov rdx, r8
not rdx
shr rdx, 0x3f
test rax, rax
je 0x140020bf5
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xf0], rax
mov eax, 1
jmp 0x140020bf7
xor eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x100]
lea r9, [rsp + 0xe0]
mov rdi, r8
call fcn.140006860
cmp qword [rsp + 0x100], 0
jne 0x1400216d8
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xa0], rdi
mov rdx, qword [rsp + 0x78]
mov r10, rdi
cmp rdx, r10
jne 0x140020c65
lea rcx, [rsp + 0xa0]
call fcn.140006900
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xa8]
mov byte [rax + rdx], 0
lea rdi, [rdx + 1]
mov qword [rsp + 0xb0], rdi
mov r13, qword [rsp + 0xa8]
cmp qword [rsp + 0xa0], rdi
jbe 0x140020cc0
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, r13
test rdi, rdi
je 0x140020cad
mov r9, rdi
call sub.KERNEL32.dll_HeapReAlloc
mov r13, rax
test rax, rax
jne 0x140020cc0
jmp 0x1400216d8
call sub.KERNEL32.dll_HeapFree
mov r13d, 1
nop dword [rax + rax]
movzx eax, byte [0x1428c8100]
mov edx, 0x38
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 1
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], rdi
mov rax, qword [0x1428c80e8]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x1400216d8
lea rcx, [rax + 1]
lock cmpxchg qword [0x1428c80e8], rcx
jne 0x140020d10
mov qword [r15 + 0x28], rcx
mov byte [r15 + 0x30], 0
lock inc qword [r15]
jle 0x1400216d8
movzx eax, byte [0x1428c8100]
mov edx, 0x30
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov r13, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm6
mov qword [rsp + 0xe0], rax
lock inc qword [rax]
jle 0x1400216d8
movzx eax, byte [0x1428c8059]
test al, al
je 0x140020df0
mov byte [0x1428c8059], 1
call fcn.14002a820
test rax, rax
je 0x1400216d8
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140020df0
lock inc qword [rdi]
jle 0x1400216d8
mov byte [0x1428c8059], 1
call fcn.14002a820
test rax, rax
je 0x1400216ca
mov rcx, qword [rax]
mov qword [rax], rdi
test rcx, rcx
mov qword [rsp + 0x130], rdi
jne 0x140020e2d
jmp 0x140020e38
movzx eax, byte [0x1428c8059]
test al, al
je 0x140020f6f
mov byte [0x1428c8059], 1
call fcn.14002a820
test rax, rax
je 0x1400216d8
mov rcx, qword [rax]
mov qword [rax], 0
xor edi, edi
test rcx, rcx
mov qword [rsp + 0x130], rdi
je 0x140020e38
lock dec qword [rcx]
jne 0x140020e38
call fcn.140023320
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140020e54
lock inc qword [rcx + 0x18]
jle 0x1400216bd
movzx eax, byte [0x1428c8100]
mov edx, pe_nt_image_headers64
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x1400216d8
mov qword [rax], r15
mov qword [rax + 8], r13
mov rcx, qword [rsp + 0x130]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x148]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0x140]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x158]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x138]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x38], rcx
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmm1, xmmword [rsp + 0x210]
movaps xmm2, xmmword [rsp + 0x220]
movaps xmm3, xmmword [rsp + 0x230]
movdqu xmmword [rax + 0x40], xmm0
movdqu xmmword [rax + 0x50], xmm1
movups xmmword [rax + 0x60], xmm2
movups xmmword [rax + 0x70], xmm3
mov rcx, qword [rsp + 0x68]
mov rdx, rax
lea r8, [0x1428c1918]
call fcn.140035040
test rax, rax
jne 0x14002129c
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x170], rdx
mov rcx, rdx
call sub.KERNEL32.dll_CloseHandle
lock dec qword [r15]
mov r13, qword [rsp + 0xd0]
jne 0x140020f4b
mov rcx, qword [rsp + 0x160]
call fcn.140023250
mov rax, qword [rsp + 0x168]
lock dec qword [rax]
jne 0x140020480
lea rcx, [rsp + 0x168]
call fcn.140023370
jmp 0x140020480
xor eax, eax
mov qword [rsp + 0x130], rax
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140020e49
jmp 0x140020e54
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
mov qword [rsp + 0x210], 0
xor r15d, r15d
mov r12, qword [rsp + 0x80]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x210], r15
test rax, rax
jne 0x14001fbfb
jmp 0x14001fc0c
mov rax, qword [rsp + 0x200]
lock dec qword [rax]
jne 0x140020ff8
lea rcx, [rsp + 0x200]
call fcn.1400232b0
mov r12, r14
sub rsi, rbx
je 0x14002102c
shr rsi, 5
jmp 0x140021019
add rbx, 0x20
dec rsi
je 0x14002102c
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x140021010
mov rcx, rbx
call fcn.1400232b0
jmp 0x140021010
cmp qword [rsp + 0x128], 0
mov rsi, qword [rsp + 0x120]
je 0x140021055
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call sub.KERNEL32.dll_HeapFree
sub r14, r12
je 0x14002107d
shr r14, 4
jmp 0x140021069
add r12, 0x10
dec r14
je 0x14002107d
mov rax, qword [r12]
lock dec qword [rax]
jne 0x140021060
mov rcx, r12
call fcn.1400232b0
jmp 0x140021060
test rsi, rsi
je 0x140021093
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 8], rcx
mov qword [rax], 3
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rbx + 0x18]
test rsi, rsi
je 0x1400210f0
mov rdi, qword [rbx + 0x20]
mov rax, qword [rdi]
test rax, rax
je 0x1400210cd
mov rcx, rsi
call rax
cmp qword [rdi + 8], 0
je 0x1400210f0
cmp qword [rdi + 0x10], 0x11
jb 0x1400210df
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [rbx + 0x28]
test rsi, rsi
je 0x14002112d
mov rdi, qword [rbx + 0x30]
mov rax, qword [rdi]
test rax, rax
je 0x14002110a
mov rcx, rsi
call rax
cmp qword [rdi + 8], 0
je 0x14002112d
cmp qword [rdi + 0x10], 0x11
jb 0x14002111c
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14002116a
mov rdi, qword [rbx + 0x40]
mov rax, qword [rdi]
test rax, rax
je 0x140021147
mov rcx, rsi
call rax
cmp qword [rdi + 8], 0
je 0x14002116a
cmp qword [rdi + 0x10], 0x11
jb 0x140021159
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [rbx + 0x48]
test rsi, rsi
je 0x1400211a7
mov rdi, qword [rbx + 0x50]
mov rax, qword [rdi]
test rax, rax
je 0x140021184
mov rcx, rsi
call rax
cmp qword [rdi + 8], 0
je 0x1400211a7
cmp qword [rdi + 0x10], 0x11
jb 0x140021196
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
movaps xmm6, xmmword [rbp + 0x800]
movaps xmm7, xmmword [rbp + 0x810]
movaps xmm8, xmmword [rbp + 0x820]
lea rsp, [rbp + 0x838]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov qword [rax], 1
mov rax, qword [rsp + 0x188]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140021212
test rax, rax
je 0x140021212
mov r8, qword [rsp + 0x190]
mov rcx, qword [0x1428c80c8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x1b0]
lock dec qword [rax]
mov rsi, qword [rsp + 0xd8]
jne 0x14002126c
lea rcx, [rsp + 0x1b0]
call fcn.1400232b0
mov rax, qword [rsp + 0x1a0]
lock dec qword [rax]
je 0x14002127a
mov rax, qword [rsp + 0x1d0]
lock dec qword [rax]
jne 0x140021295
mov rcx, qword [rsp + 0x1d0]
call fcn.140023500
sub rsi, rbx
jne 0x1400212e9
jmp 0x14002130c
mov rax, qword [rsp + 0x1a0]
lock dec qword [rax]
jne 0x140021243
lea rcx, [rsp + 0x1a0]
call fcn.1400232b0
mov rax, qword [rsp + 0x1d0]
lock dec qword [rax]
je 0x140021251
sub rsi, rbx
jne 0x1400212e9
jmp 0x14002130c
lock dec qword [rdi]
mov r13, qword [rsp + 0xd0]
jne 0x1400212bd
lea rcx, [rsp + 0xe0]
mov rdi, rdx
call fcn.140023370
mov rdx, rdi
lock dec qword [r15]
jne 0x1400212d1
mov rcx, r15
mov rdi, rdx
call fcn.140023250
mov rdx, rdi
mov rax, qword [rsp + 0xc0]
mov qword [rax], 2
mov qword [rax + 8], rdx
sub rsi, rbx
je 0x14002130c
shr rsi, 5
jmp 0x1400212f9
add rbx, 0x20
dec rsi
je 0x14002130c
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x1400212f0
mov rcx, rbx
call fcn.1400232b0
jmp 0x1400212f0
cmp qword [rsp + 0x128], 0
je 0x14002132d
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call sub.KERNEL32.dll_HeapFree
sub r14, r12
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x150]
je 0x14002136d
shr r14, 4
jmp 0x140021359
add r12, 0x10
dec r14
je 0x14002136d
mov rax, qword [r12]
lock dec qword [rax]
jne 0x140021350
mov rcx, r12
call fcn.1400232b0
jmp 0x140021350
test rsi, rsi
je 0x140021383
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
lock dec qword [rdi]
jne 0x140021476
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x208]
test rax, rax
je 0x140021476
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rcx + 0x200]
shl rax, 3
lea rbx, [rax + rax*4]
mov r14d, 4
xor r12d, r12d
xor r13d, r13d
jmp 0x1400213e4
add r12, 0x28
sub r14, 0xffffffffffffff80
inc r13
cmp rbx, r12
je 0x140021476
mov eax, 3
xchg qword [rdi + r12 + 0x10], rax
cmp rax, 2
jne 0x1400213d0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x1e8], r13
jbe 0x1400216d8
mov r15, qword [rax + 0x1e0]
lea rsi, [r15 + r14]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r15 + r14], cl
jne 0x140021464
cmp byte [r15 + r14 + 1], 0
je 0x14002144b
lea rcx, [r15 + r14]
add rcx, 0xfffffffffffffffc
mov byte [r15 + r14 + 1], 0
lock inc dword [r15 + r14 - 4]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, qword [rsp + 0x70]
lock dec qword [rax + 0x1f0]
xor eax, eax
xchg byte [rsi], al
cmp al, 2
jne 0x1400213d0
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x1400213d0
mov rcx, rsi
call fcn.1400300d0
cmp byte [r15 + r14 + 1], 0
jne 0x140021425
jmp 0x14002144b
mov rcx, qword [rsp + 0x70]
lock dec qword [rcx]
jne 0x1400210ab
call fcn.140023500
jmp 0x1400210ab
cmp byte [r8], 0x2b
jne 0x140021552
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x14002155f
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop dword [rax + rax]
mul rsi
jo 0x14001f558
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14001f558
mov edx, edx
add rax, rdx
jb 0x14001f558
inc r11
cmp r9, r11
jne 0x1400214c0
jmp 0x140021596
cmp byte [r8], 0x2b
jne 0x14002164c
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140021659
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop dword [rax + rax]
mul rsi
jo 0x14001f678
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14001f678
mov edx, edx
add rax, rdx
jb 0x14001f678
inc r11
cmp r9, r11
jne 0x140021520
jmp 0x140021686
mov r10, r8
cmp r9, 0x11
jae 0x1400214ae
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x14001f558
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140021570
test rcx, rcx
je 0x1400215af
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
test rax, rax
jne 0x14001f6c4
call fcn.140033590
mov rcx, rax
mov rax, rdx
test rcx, rcx
je 0x14001f6c4
mov ecx, edx
and ecx, 3
mov eax, 1
lea r8, [rcx - 2]
cmp r8, 2
jb 0x14001f6c4
test rcx, rcx
je 0x14001f6c4
mov rsi, qword [rdx - 1]
mov rbx, qword [rdx + 7]
mov rax, qword [rbx]
test rax, rax
je 0x140021608
mov rcx, rsi
mov rdi, rdx
call rax
mov rdx, rdi
dec rdx
mov rdi, rdx
cmp qword [rbx + 8], 0
je 0x140021631
cmp qword [rbx + 0x10], 0x11
jb 0x140021620
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov eax, 1
jmp 0x14001f6c4
mov r10, r8
cmp r9, 0x11
jae 0x140021511
xor edx, edx
xor eax, eax
nop dword [rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x14001f678
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140021660
test rcx, rcx
je 0x14002169f
mov rcx, qword [0x1428c80c8]
xor edx, edx
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
test rax, rax
je 0x14001f68b
jmp 0x14001f6c4
shl rcx, 1
jmp 0x14001f558
shl rcx, 1
jmp 0x14001f678
add rcx, 0x10
xor edx, edx
call fcn.140029cf0
ud2
lock dec qword [rdi]
jne 0x1400216d8
mov rcx, rdi
call fcn.140023320
ud2