Function at 0x1400cee40
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov qword [rsp + 0x30], rcx
lea rcx, [0x140c2eb30]
test cl, 0xf
jne 0x1400cee94
lea rax, [0x140c2eb40]
lea rdx, [0x140c3c350]
cmp rdx, rax
cmova rax, rdx
mov rdx, rcx
not rdx
lea r8, [rdx + rax]
add r8, 0x10
and r8, 0xfffffffffffffff0
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x1400ceeec
xor eax, eax
nop word cs:[rax + rax]
mov byte [rax + rcx], 0
mov byte [rax + rcx + 1], 0
mov byte [rax + rcx + 2], 0
mov byte [rax + rcx + 3], 0
mov byte [rax + rcx + 4], 0
mov byte [rax + rcx + 5], 0
mov byte [rax + rcx + 6], 0
mov byte [rax + rcx + 7], 0
mov byte [rax + rcx + 8], 0
mov byte [rax + rcx + 9], 0
mov byte [rax + rcx + 0xa], 0
mov byte [rax + rcx + 0xb], 0
mov byte [rax + rcx + 0xc], 0
add rax, 0xd
cmp rax, 0xd820
jne 0x1400ceea0
mov al, byte [0x140cbd3c0]
test al, al
jne 0x1400cef31
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400d009c
cmp byte [0x140cbd3c0], 0
jne 0x1400cef2a
lea rcx, [0x140c3c380]
mov edx, 0xffffffff
xor r8d, r8d
call fcn.1400f6280
mov byte [0x140cbd3c0], 1
mov byte [0x140cbd3c1], 0
movabs rsi, 0x1000000000000000
lea rcx, [0x140c2eb30]
lea rdx, [0x140cbd388]
call fcn.1400fa0e0
mov r10, qword [rsp + 0x30]
mov rax, qword [r10 + 0xa00028]
lea rcx, [r10 + 0xa00030]
mov qword [rsp + 0x40], rcx
mov rdx, 0xffffffffffffffff
xor ecx, ecx
lea rbx, [rsi + 0xfffff]
movabs r14, 0x10000000000
lea r12, [rsp + 0x58]
movabs r15, 0xdfffffffffffffff
movabs rdi, 0x2000000000000000
nop dword [rax]
test rax, rbx
jne 0x1400cefc3
mov rbp, rax
or rbp, rsi
and rbp, rdx
lock cmpxchg qword [r10 + 0xa00028], rbp
je 0x1400cf059
add rcx, 1
jmp 0x1400cefa0
cmp rcx, 0x5dc
jbe 0x1400cf01e
lea r8, [rax + r14]
and r8, rdx
lock cmpxchg qword [r10 + 0xa00028], r8
jne 0x1400cefbd
mov rcx, qword [rsp + 0x40]
jmp 0x1400cf00b
mov dword [rsp + 0x58], 0
mov r8d, 4
mov rdx, r12
mov r9d, 0xffffffff
call sub.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress
mov rcx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400cefe5
lea edx, [rax - 1]
lock cmpxchg dword [rcx], edx
jne 0x1400cf00d
xor ecx, ecx
jmp 0x1400cf036
bt rax, 0x3d
jb 0x1400cf049
mov r8, rax
or r8, rdi
lock cmpxchg qword [r10 + 0xa00028], r8
jne 0x1400cefbd
mov rax, qword [r10 + 0xa00028]
add rcx, 1
mov rdx, r15
jmp 0x1400cefa0
mov rax, qword [r10 + 0xa00028]
add rcx, 1
jmp 0x1400cefa0
mov rax, qword [r10 + 0xa00040]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400cfe86
lea rcx, [0x140c7c3d0]
lea rax, [0x140c7d140]
cmp rax, rcx
cmova rcx, rax
lea rdi, [0x140c3c380]
sub rcx, rdi
add rcx, 0xfffffffffffbffcf
and rcx, 0xffffffffffffffd0
mov qword [rsp + 0x48], rcx
xor r8d, r8d
jmp 0x1400cf0bf
add r8, 1
cmp r8, qword [rsp + 0x50]
je 0x1400cfe86
xor r13d, r13d
test r8, r8
sete r13b
mov qword [rsp + 0x38], r8
jmp 0x1400cf0ff
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rax, [r12 + r14]
add rax, 0x48
mov qword [rax], 0
mov dword [r12 + r14 + 0x20], 0x3fffff00
add r13, 1
cmp r13, 0x400
je 0x1400cf0b0
mov r12, qword [r10 + r8*8 + 0x200028]
imul r14, r13, 0x58
mov r15, qword [r12 + r14 + 0x50]
test r15, r15
je 0x1400cf627
mov al, byte [0x140cbd3c0]
test al, al
je 0x1400cf140
movabs rax, 0x7fffffffffff
cmp r15, rax
jbe 0x1400cf3c2
jmp 0x1400cf510
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400cf480
cmp byte [0x140cbd3c0], 0
jne 0x1400cf3a8
mov byte [0x140cbd388], 0
mov byte [0x140cbd389], 0
mov byte [0x140cbd38a], 0
mov byte [0x140cbd38b], 0
mov byte [0x140cbd38c], 0
mov byte [0x140cbd38d], 0
mov byte [0x140cbd38e], 0
mov byte [0x140cbd38f], 0
mov byte [0x140cbd390], 0
mov byte [0x140cbd391], 0
mov byte [0x140cbd392], 0
mov byte [0x140cbd393], 0
mov byte [0x140cbd394], 0
mov byte [0x140cbd395], 0
mov byte [0x140cbd396], 0
mov byte [0x140cbd397], 0
mov byte [0x140cbd398], 0
mov byte [0x140cbd399], 0
mov byte [0x140cbd39a], 0
mov byte [0x140cbd39b], 0
mov byte [0x140cbd39c], 0
mov byte [0x140cbd39d], 0
mov byte [0x140cbd39e], 0
mov byte [0x140cbd39f], 0
mov byte [0x140cbd3a0], 0
mov byte [0x140cbd3a1], 0
mov byte [0x140cbd3a2], 0
mov byte [0x140cbd3a3], 0
mov byte [0x140cbd3a4], 0
mov byte [0x140cbd3a5], 0
mov byte [0x140cbd3a6], 0
mov byte [0x140cbd3a7], 0
mov byte [0x140cbd3a8], 0
mov byte [0x140cbd3a9], 0
mov byte [0x140cbd3aa], 0
mov byte [0x140cbd3ab], 0
mov byte [0x140cbd3ac], 0
mov byte [0x140cbd3ad], 0
mov byte [0x140cbd3ae], 0
mov byte [0x140cbd3af], 0
lea rax, [0x140cbd388]
mov qword [0x140cbd388], rax
mov qword [0x140cbd390], rax
mov byte [0x140c3c380], 0
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rax + rdi + 8], 0
mov byte [rax + rdi + 9], 0
mov byte [rax + rdi + 0xa], 0
mov byte [rax + rdi + 0xb], 0
mov byte [rax + rdi + 0xc], 0
mov byte [rax + rdi + 0xd], 0
mov byte [rax + rdi + 0xe], 0
mov byte [rax + rdi + 0xf], 0
add rax, 8
cmp rax, 0x40000
jne 0x1400cf2a0
lea rcx, [0x140c7c3c0]
xor edx, edx
mov r8, qword [rsp + 0x48]
call sub.msvcrt.dll_memset
mov rax, 0xfffffffffffbfdb8
nop
mov byte [rax + rdi + 0x81008], 0
mov byte [rax + rdi + 0x81009], 0
mov byte [rax + rdi + 0x8100a], 0
mov byte [rax + rdi + 0x8100b], 0
mov byte [rax + rdi + 0x8100c], 0
mov byte [rax + rdi + 0x8100d], 0
mov byte [rax + rdi + 0x8100e], 0
mov byte [rax + rdi + 0x8100f], 0
mov byte [rax + rdi + 0x81010], 0
mov byte [rax + rdi + 0x81011], 0
mov byte [rax + rdi + 0x81012], 0
mov byte [rax + rdi + 0x81013], 0
add rax, 0xc
jne 0x1400cf2f0
mov rax, qword [0x140cbd3d8]
test rax, rax
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
jne 0x1400cf38c
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov eax, dword [rsp + 0x5c]
mov qword [0x140cbd3d8], rax
mov qword [0x140c7d140], rax
lea rax, [0x140c7d150]
mov qword [0x140c7d148], rax
mov byte [0x140cbd3c0], 1
mov byte [0x140cbd3c1], 0
movabs rax, 0x7fffffffffff
cmp r15, rax
ja 0x1400cf510
mov rbp, r15
shr rbp, 0x20
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x1400cf510
mov rbx, r15
shr rbx, 0x14
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x1400cf4dc
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x1400cf510
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x1400d0057
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x1400cfbec
movzx r9d, byte [rax + rbx]
test r9, r9
je 0x1400d0057
cmp r9b, 0x36
jae 0x1400d007b
mov rbp, r9
shl rbp, 0xa
lea rax, [0x140c2eb30]
lea rsi, [rax + rbp]
mov rcx, qword [rbp + rax + 8]
test rcx, rcx
je 0x1400cfc14
mov rax, qword [rsi]
cmp rax, rcx
je 0x1400cfd38
lea rcx, [rax + 1]
mov qword [rsi], rcx
mov qword [rsi + rax*8 + 0x20], r15
lea rax, [0x140c2eb30]
mov rax, qword [rbp + rax + 0x10]
sub qword [0x140c3c340], rax
jmp 0x1400cf618
xor esi, esi
jmp 0x1400cf493
add esi, 1
cmp esi, 0x63
ja 0x1400cf4b0
pause
cmp byte [0x140cbd3c1], 0
jne 0x1400cf490
jmp 0x1400cf4cb
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
cmp byte [0x140cbd3c1], 0
jne 0x1400cf490
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400cf490
jmp 0x1400cf150
mov rcx, rdi
mov rdx, rbp
call fcn.1401003e0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x1400cf3fc
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rax, qword [0x140c7d140]
lea rcx, [rax - 1]
test rcx, r15
jne 0x1400cffcb
sub r15, rax
mov al, 1
xchg byte [0x140cbd380], al
test al, al
jne 0x1400cf9a2
mov r9, qword [r15 + 0x18]
mov rcx, qword [0x140c7d148]
mov rax, qword [rcx + r9*8]
cmp rax, r15
jne 0x1400d000c
mov rax, qword [0x140cbd150]
cmp r9, rax
jae 0x1400cffef
lea rdx, [rax - 1]
mov qword [0x140cbd150], rdx
mov rax, qword [rcx + rax*8 - 8]
mov qword [rcx + r9*8], rax
mov rax, qword [0x140c7d148]
mov rax, qword [rax + r9*8]
mov qword [rax + 0x18], r9
mov byte [0x140cbd158], 0
add qword [0x140cbd168], 1
mov rax, qword [r15 + 8]
sub qword [0x140cbd170], rax
sub qword [0x140cbd398], rax
sub qword [0x140cbd3a0], rax
mov byte [0x140cbd380], 0
mov rbp, qword [r15]
test rbp, rbp
je 0x1400cf618
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x1400cf618
mov r8d, 0x30
mov rcx, rbp
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400d0033
mov rcx, rbp
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400cf60e
mov rcx, rbp
mov rdx, rbx
mov r8d, 0x4000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400d0132
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rax, [r12 + r14]
add rax, 0x50
mov qword [rax], 0
mov rsi, qword [r12 + r14 + 0x48]
test rsi, rsi
je 0x1400cf0e9
mov al, byte [0x140cbd3c0]
test al, al
je 0x1400cf660
movabs rax, 0x7fffffffffff
cmp rsi, rax
jbe 0x1400cf8e2
jmp 0x1400cfa80
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400cf9fc
cmp byte [0x140cbd3c0], 0
jne 0x1400cf8c8
mov byte [0x140cbd388], 0
mov byte [0x140cbd389], 0
mov byte [0x140cbd38a], 0
mov byte [0x140cbd38b], 0
mov byte [0x140cbd38c], 0
mov byte [0x140cbd38d], 0
mov byte [0x140cbd38e], 0
mov byte [0x140cbd38f], 0
mov byte [0x140cbd390], 0
mov byte [0x140cbd391], 0
mov byte [0x140cbd392], 0
mov byte [0x140cbd393], 0
mov byte [0x140cbd394], 0
mov byte [0x140cbd395], 0
mov byte [0x140cbd396], 0
mov byte [0x140cbd397], 0
mov byte [0x140cbd398], 0
mov byte [0x140cbd399], 0
mov byte [0x140cbd39a], 0
mov byte [0x140cbd39b], 0
mov byte [0x140cbd39c], 0
mov byte [0x140cbd39d], 0
mov byte [0x140cbd39e], 0
mov byte [0x140cbd39f], 0
mov byte [0x140cbd3a0], 0
mov byte [0x140cbd3a1], 0
mov byte [0x140cbd3a2], 0
mov byte [0x140cbd3a3], 0
mov byte [0x140cbd3a4], 0
mov byte [0x140cbd3a5], 0
mov byte [0x140cbd3a6], 0
mov byte [0x140cbd3a7], 0
mov byte [0x140cbd3a8], 0
mov byte [0x140cbd3a9], 0
mov byte [0x140cbd3aa], 0
mov byte [0x140cbd3ab], 0
mov byte [0x140cbd3ac], 0
mov byte [0x140cbd3ad], 0
mov byte [0x140cbd3ae], 0
mov byte [0x140cbd3af], 0
lea rax, [0x140cbd388]
mov qword [0x140cbd388], rax
mov qword [0x140cbd390], rax
mov byte [0x140c3c380], 0
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rax + rdi + 8], 0
mov byte [rax + rdi + 9], 0
mov byte [rax + rdi + 0xa], 0
mov byte [rax + rdi + 0xb], 0
mov byte [rax + rdi + 0xc], 0
mov byte [rax + rdi + 0xd], 0
mov byte [rax + rdi + 0xe], 0
mov byte [rax + rdi + 0xf], 0
add rax, 8
cmp rax, 0x40000
jne 0x1400cf7c0
lea rcx, [0x140c7c3c0]
xor edx, edx
mov r8, qword [rsp + 0x48]
call sub.msvcrt.dll_memset
mov rax, 0xfffffffffffbfdb8
nop
mov byte [rax + rdi + 0x81008], 0
mov byte [rax + rdi + 0x81009], 0
mov byte [rax + rdi + 0x8100a], 0
mov byte [rax + rdi + 0x8100b], 0
mov byte [rax + rdi + 0x8100c], 0
mov byte [rax + rdi + 0x8100d], 0
mov byte [rax + rdi + 0x8100e], 0
mov byte [rax + rdi + 0x8100f], 0
mov byte [rax + rdi + 0x81010], 0
mov byte [rax + rdi + 0x81011], 0
mov byte [rax + rdi + 0x81012], 0
mov byte [rax + rdi + 0x81013], 0
add rax, 0xc
jne 0x1400cf810
mov rax, qword [0x140cbd3d8]
test rax, rax
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
jne 0x1400cf8ac
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov eax, dword [rsp + 0x5c]
mov qword [0x140cbd3d8], rax
mov qword [0x140c7d140], rax
lea rax, [0x140c7d150]
mov qword [0x140c7d148], rax
mov byte [0x140cbd3c0], 1
mov byte [0x140cbd3c1], 0
movabs rax, 0x7fffffffffff
cmp rsi, rax
ja 0x1400cfa80
mov rbx, rsi
shr rbx, 0x20
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x1400cfa80
mov rbp, rsi
shr rbp, 0x14
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x1400cfa4c
and ebp, 0xfff
cmp byte [rax + rbp], 0
je 0x1400cfa80
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x1400d0057
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x1400cfcf7
movzx r9d, byte [rax + rbp]
test r9, r9
je 0x1400d0057
cmp r9b, 0x36
jae 0x1400d007b
mov rbx, r9
shl rbx, 0xa
lea rax, [0x140c2eb30]
lea rbp, [rax + rbx]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x1400cfd5c
mov rax, qword [rbp]
cmp rax, rcx
je 0x1400cfe61
lea rcx, [rax + 1]
mov qword [rbp], rcx
mov qword [rbp + rax*8 + 0x20], rsi
lea rax, [0x140c2eb30]
mov rax, qword [rbx + rax + 0x10]
sub qword [0x140c3c340], rax
jmp 0x1400cf0da
xor esi, esi
jmp 0x1400cf9b3
add esi, 1
cmp esi, 0x63
ja 0x1400cf9d0
pause
cmp byte [0x140cbd380], 0
jne 0x1400cf9b0
jmp 0x1400cf9eb
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
cmp byte [0x140cbd380], 0
jne 0x1400cf9b0
mov al, 1
xchg byte [0x140cbd380], al
test al, al
jne 0x1400cf9b0
jmp 0x1400cf537
xor ebx, ebx
jmp 0x1400cfa03
add ebx, 1
cmp ebx, 0x63
ja 0x1400cfa20
pause
cmp byte [0x140cbd3c1], 0
jne 0x1400cfa00
jmp 0x1400cfa3b
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
cmp byte [0x140cbd3c1], 0
jne 0x1400cfa00
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400cfa00
jmp 0x1400cf670
mov rcx, rdi
mov rdx, rbx
call fcn.1401003e0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and ebp, 0xfff
cmp byte [rax + rbp], 0
jne 0x1400cf91c
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rax, qword [0x140c7d140]
lea rcx, [rax - 1]
test rcx, rsi
jne 0x1400cffcb
sub rsi, rax
mov al, 1
xchg byte [0x140cbd380], al
test al, al
jne 0x1400cfb8f
mov r9, qword [rsi + 0x18]
mov rcx, qword [0x140c7d148]
mov rax, qword [rcx + r9*8]
cmp rax, rsi
jne 0x1400d0013
mov rax, qword [0x140cbd150]
cmp r9, rax
jae 0x1400cffef
lea rdx, [rax - 1]
mov qword [0x140cbd150], rdx
mov rax, qword [rcx + rax*8 - 8]
mov qword [rcx + r9*8], rax
mov rax, qword [0x140c7d148]
mov rax, qword [rax + r9*8]
mov qword [rax + 0x18], r9
mov byte [0x140cbd158], 0
add qword [0x140cbd168], 1
mov rax, qword [rsi + 8]
sub qword [0x140cbd170], rax
sub qword [0x140cbd398], rax
sub qword [0x140cbd3a0], rax
mov byte [0x140cbd380], 0
mov rbx, qword [rsi]
test rbx, rbx
je 0x1400cf0da
mov rbp, qword [rsi + 8]
test rbp, rbp
je 0x1400cf0da
mov r8d, 0x30
mov rcx, rbx
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400d0033
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400cf0d0
mov rcx, rbx
mov rdx, rbp
mov r8d, 0x4000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400cf0d0
jmp 0x1400d015a
xor ebx, ebx
jmp 0x1400cfba3
add ebx, 1
cmp ebx, 0x63
ja 0x1400cfbc0
pause
cmp byte [0x140cbd380], 0
jne 0x1400cfba0
jmp 0x1400cfbdb
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
cmp byte [0x140cbd380], 0
jne 0x1400cfba0
mov al, 1
xchg byte [0x140cbd380], al
test al, al
jne 0x1400cfba0
jmp 0x1400cfaa7
mov rcx, rdi
mov rdx, rbp
call fcn.1401003e0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
movzx r9d, byte [rax + rbx]
test r9, r9
jne 0x1400cf426
jmp 0x1400d0057
lea rax, [0x140c2eb30]
lea rbx, [rax + rbp]
add rbx, 8
mov r10d, 0x10
mov r11, 0xfffffffffffffff1
lea r8, [0x140c2ef48]
jmp 0x1400cfc5c
mov qword [r8], rax
add r10, 0x10
add r11, 1
add r8, 0x400
cmp r11, 0x26
je 0x1400cfd1f
mov ecx, 0x200
cmp r11, 0x25
je 0x1400cfc97
lea rax, [r11 + 0x10]
mov rcx, r10
cmp rax, 0x11
jb 0x1400cfc97
mov rcx, r11
shr rcx, 2
mov edx, 0x100
shl rdx, cl
mov rcx, rdx
shr rcx, 2
and eax, 3
imul rax, rcx
add rax, rdx
mov rcx, rax
mov eax, 0x4000
xor edx, edx
div ecx
cmp eax, 0x40
jae 0x1400cfce0
test rax, rax
je 0x1400cfcea
cmp rax, 0x3e
jb 0x1400cfcb5
mov eax, 0x3e
lea rdx, [rax + rax]
mov qword [r8 - 0x10], rdx
mov qword [r8 - 8], rcx
lea rdx, [rax*8 + 0x10]
mov eax, 0x14
cmp rcx, rdx
jb 0x1400cfc40
xor eax, eax
jmp 0x1400cfc40
mov eax, 0x40
test rax, rax
jne 0x1400cfcaa
mov eax, 1
cmp rax, 0x3e
jae 0x1400cfcb0
jmp 0x1400cfcb5
mov rcx, rdi
mov rdx, rbx
call fcn.1401003e0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
movzx r9d, byte [rax + rbp]
test r9, r9
jne 0x1400cf946
jmp 0x1400d0057
mov rcx, qword [rbx]
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rax, qword [rsi]
cmp rax, rcx
jne 0x1400cf45c
lea rcx, [0x140c2eb30]
mov rdx, rsi
mov r8, rdi
call fcn.1400fa280
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsi]
jmp 0x1400cf45c
lea rax, [0x140c2eb30]
lea r15, [rbx + rax]
add r15, 8
mov r10d, 0x10
mov r11, 0xfffffffffffffff1
lea r8, [0x140c2ef48]
jmp 0x1400cfdac
mov qword [r8], rax
add r10, 0x10
add r11, 1
add r8, 0x400
cmp r11, 0x26
je 0x1400cfe47
mov ecx, 0x200
cmp r11, 0x25
je 0x1400cfde7
lea rax, [r11 + 0x10]
mov rcx, r10
cmp rax, 0x11
jb 0x1400cfde7
mov rcx, r11
shr rcx, 2
mov edx, 0x100
shl rdx, cl
mov rcx, rdx
shr rcx, 2
and eax, 3
imul rax, rcx
add rax, rdx
mov rcx, rax
mov eax, 0x4000
xor edx, edx
div ecx
cmp eax, 0x40
jae 0x1400cfe30
test rax, rax
je 0x1400cfe3a
cmp rax, 0x3e
jb 0x1400cfe05
mov eax, 0x3e
lea rdx, [rax + rax]
mov qword [r8 - 0x10], rdx
mov qword [r8 - 8], rcx
lea rdx, [rax*8 + 0x10]
mov eax, 0x14
cmp rcx, rdx
jb 0x1400cfd90
xor eax, eax
jmp 0x1400cfd90
mov eax, 0x40
test rax, rax
jne 0x1400cfdfa
mov eax, 1
cmp rax, 0x3e
jae 0x1400cfe00
jmp 0x1400cfe05
mov rcx, qword [r15]
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbp]
cmp rax, rcx
jne 0x1400cf97d
lea rcx, [0x140c2eb30]
mov rdx, rbp
mov r8, rdi
call fcn.1400fa280
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov rax, qword [rbp]
jmp 0x1400cf97d
mov rax, qword [r10 + 0xa00028]
movabs r11, 0xefffffffffffffff
movabs r14, 0x6000000000000000
movabs r15, 0xfffff0000000000
movabs rbx, 0xffffff0000000000
xor r8d, r8d
movabs r9, 0xbfffff00000fffff
movabs r10, 0x4000000000000000
movabs rbp, 0x2000000000000000
jmp 0x1400cff14
mov rsi, rax
shr rsi, 0x14
and esi, 0xfffff
test rax, rbp
cmovne rsi, r8
mov rcx, rdi
and rcx, r9
or rcx, r10
test rsi, rsi
cmove rcx, rdi
mov rdx, qword [rsp + 0x30]
lock cmpxchg qword [rdx + 0xa00028], rcx
je 0x1400cff55
mov rsi, rax
and rsi, r11
test rax, r14
sete cl
test rax, r15
setne dl
lea rdi, [rsi + rbx]
or rdi, rbp
test cl, dl
cmove rdi, rsi
je 0x1400cfee0
mov rcx, qword [rsp + 0x30]
lock cmpxchg qword [rcx + 0xa00028], rdi
jne 0x1400cff14
mov rcx, qword [rsp + 0x40]
lock add dword [rcx], 1
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x1400cff5e
test rsi, rsi
jne 0x1400d00d1
mov al, byte [0x140cbd3c0]
test al, al
jne 0x1400cffa3
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400d00f3
cmp byte [0x140cbd3c0], 0
jne 0x1400cff9c
lea rcx, [0x140c3c380]
mov edx, 0xffffffff
xor r8d, r8d
call fcn.1400f6280
mov byte [0x140cbd3c0], 1
mov byte [0x140cbd3c1], 0
lea rcx, [0x140c3c380]
lea rdx, [0x140c2eb30]
call fcn.1400f60d0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_secondary.h
lea r8, str.__IsAligned_p__page_size________0_
mov edx, 0x129
xor r9d, r9d
call fcn.1400a50f0
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_allocator_secondary.h
lea r8, str.__idx_______n_chunks___
mov edx, 0x8c
call fcn.1400a50f0
mov qword [rsp + 0x20], r15
jmp 0x1400d0018
mov qword [rsp + 0x20], rsi
lea rcx, str....._sanitizer_common_sanitizer_allocator_secondary.h
lea r8, str.__chunks__idx_______h__
mov edx, 0x8b
mov r9, rax
call fcn.1400a50f0
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__VirtualQuery_addr__mbi__sizeof_mbi________0_
mov edx, 0x222c
xor r9d, r9d
call fcn.1400a50f0
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_local_cache.h
lea r8, str.__class_id_______0UL__
mov edx, 0xaf
xor r9d, r9d
call fcn.1400a50f0
mov qword [rsp + 0x20], 0x36
lea rcx, str....._sanitizer_common_sanitizer_allocator_local_cache.h
lea r8, str.__class_id_______kNumClasses__
mov edx, 0xb0
call fcn.1400a50f0
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400d00aa
add esi, 1
cmp esi, 0x63
ja 0x1400d00b3
pause
jmp 0x1400d00b7
xor ecx, ecx
call rdi
cmp byte [0x140cbd3c1], 0
jne 0x1400d00a7
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400d00a7
jmp 0x1400cef06
mov rcx, qword [rsp + 0x30]
lock add dword [rcx + 0xa00034], esi
add rcx, 0xa00034
cmp esi, 1
jne 0x1400d0128
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x1400cff5e
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400d0101
add esi, 1
cmp esi, 0x63
ja 0x1400d010a
pause
jmp 0x1400d010e
xor ecx, ecx
call rdi
cmp byte [0x140cbd3c1], 0
jne 0x1400d00fe
mov al, 1
xchg byte [0x140cbd3c1], al
test al, al
jne 0x1400d00fe
jmp 0x1400cff78
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll
jmp 0x1400cff5e
mov rsi, qword [str.SanitizerTool]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
lea rcx, str.ERROR:__s_failed_to_deallocate_0x_zx___zd__bytes_at_address__p__error_code:__d__n
mov rdx, rsi
mov r8, rbx
mov r9, rbx
jmp 0x1400d0180
mov rsi, qword [str.SanitizerTool]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea rcx, str.ERROR:__s_failed_to_deallocate_0x_zx___zd__bytes_at_address__p__error_code:__d__n
mov rdx, rsi
mov r8, rbp
mov r9, rbp
call fcn.1400d13d0
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.___unable_to_unmap___0______0_
mov edx, 0x2236
xor r9d, r9d
call fcn.1400a50f0
int3