Function at 0x140103660
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, [0x140d31cb0]
test cl, 0xf
jne 0x1401036b4
lea rax, [0x140d31cc0]
lea rdx, [0x140d3f4d0]
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 0x14010370c
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 0x1401036c0
mov al, byte [0x140dc0540]
test al, al
jne 0x140103751
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x1401048bc
cmp byte [0x140dc0540], 0
jne 0x14010374a
lea rcx, [0x140d3f500]
mov edx, 0xffffffff
xor r8d, r8d
call fcn.14012aaa0
mov byte [0x140dc0540], 1
mov byte [0x140dc0541], 0
movabs rsi, 0x1000000000000000
lea rcx, [0x140d31cb0]
lea rdx, [0x140dc0508]
call fcn.14012e900
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 0x1401037e3
mov rbp, rax
or rbp, rsi
and rbp, rdx
lock cmpxchg qword [r10 + 0xa00028], rbp
je 0x140103879
add rcx, 1
jmp 0x1401037c0
cmp rcx, 0x5dc
jbe 0x14010383e
lea r8, [rax + r14]
and r8, rdx
lock cmpxchg qword [r10 + 0xa00028], r8
jne 0x1401037dd
mov rcx, qword [rsp + 0x40]
jmp 0x14010382b
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 0x140103805
lea edx, [rax - 1]
lock cmpxchg dword [rcx], edx
jne 0x14010382d
xor ecx, ecx
jmp 0x140103856
bt rax, 0x3d
jb 0x140103869
mov r8, rax
or r8, rdi
lock cmpxchg qword [r10 + 0xa00028], r8
jne 0x1401037dd
mov rax, qword [r10 + 0xa00028]
add rcx, 1
mov rdx, r15
jmp 0x1401037c0
mov rax, qword [r10 + 0xa00028]
add rcx, 1
jmp 0x1401037c0
mov rax, qword [r10 + 0xa00040]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401046a6
lea rcx, [0x140d7f550]
lea rax, [0x140d802c0]
cmp rax, rcx
cmova rcx, rax
lea rdi, [0x140d3f500]
sub rcx, rdi
add rcx, 0xfffffffffffbffcf
and rcx, 0xffffffffffffffd0
mov qword [rsp + 0x48], rcx
xor r8d, r8d
jmp 0x1401038df
add r8, 1
cmp r8, qword [rsp + 0x50]
je 0x1401046a6
xor r13d, r13d
test r8, r8
sete r13b
mov qword [rsp + 0x38], r8
jmp 0x14010391f
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 0x1401038d0
mov r12, qword [r10 + r8*8 + 0x200028]
imul r14, r13, 0x58
mov r15, qword [r12 + r14 + 0x50]
test r15, r15
je 0x140103e47
mov al, byte [0x140dc0540]
test al, al
je 0x140103960
movabs rax, 0x7fffffffffff
cmp r15, rax
jbe 0x140103be2
jmp 0x140103d30
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x140103ca0
cmp byte [0x140dc0540], 0
jne 0x140103bc8
mov byte [0x140dc0508], 0
mov byte [0x140dc0509], 0
mov byte [0x140dc050a], 0
mov byte [0x140dc050b], 0
mov byte [0x140dc050c], 0
mov byte [0x140dc050d], 0
mov byte [0x140dc050e], 0
mov byte [0x140dc050f], 0
mov byte [0x140dc0510], 0
mov byte [0x140dc0511], 0
mov byte [0x140dc0512], 0
mov byte [0x140dc0513], 0
mov byte [0x140dc0514], 0
mov byte [0x140dc0515], 0
mov byte [0x140dc0516], 0
mov byte [0x140dc0517], 0
mov byte [0x140dc0518], 0
mov byte [0x140dc0519], 0
mov byte [0x140dc051a], 0
mov byte [0x140dc051b], 0
mov byte [0x140dc051c], 0
mov byte [0x140dc051d], 0
mov byte [0x140dc051e], 0
mov byte [0x140dc051f], 0
mov byte [0x140dc0520], 0
mov byte [0x140dc0521], 0
mov byte [0x140dc0522], 0
mov byte [0x140dc0523], 0
mov byte [0x140dc0524], 0
mov byte [0x140dc0525], 0
mov byte [0x140dc0526], 0
mov byte [0x140dc0527], 0
mov byte [0x140dc0528], 0
mov byte [0x140dc0529], 0
mov byte [0x140dc052a], 0
mov byte [0x140dc052b], 0
mov byte [0x140dc052c], 0
mov byte [0x140dc052d], 0
mov byte [0x140dc052e], 0
mov byte [0x140dc052f], 0
lea rax, [0x140dc0508]
mov qword [0x140dc0508], rax
mov qword [0x140dc0510], rax
mov byte [0x140d3f500], 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 0x140103ac0
lea rcx, [0x140d7f540]
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 0x140103b10
mov rax, qword [0x140dc0558]
test rax, rax
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
jne 0x140103bac
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 [0x140dc0558], rax
mov qword [0x140d802c0], rax
lea rax, [0x140d802d0]
mov qword [0x140d802c8], rax
mov byte [0x140dc0540], 1
mov byte [0x140dc0541], 0
movabs rax, 0x7fffffffffff
cmp r15, rax
ja 0x140103d30
mov rbp, r15
shr rbp, 0x20
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x140103d30
mov rbx, r15
shr rbx, 0x14
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x140103cfc
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x140103d30
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x140104877
mov rax, qword [rdi + rbp*8 + 8]
test rax, rax
je 0x14010440c
movzx r9d, byte [rax + rbx]
test r9, r9
je 0x140104877
cmp r9b, 0x36
jae 0x14010489b
mov rbp, r9
shl rbp, 0xa
lea rax, [0x140d31cb0]
lea rsi, [rax + rbp]
mov rcx, qword [rbp + rax + 8]
test rcx, rcx
je 0x140104434
mov rax, qword [rsi]
cmp rax, rcx
je 0x140104558
lea rcx, [rax + 1]
mov qword [rsi], rcx
mov qword [rsi + rax*8 + 0x20], r15
lea rax, [0x140d31cb0]
mov rax, qword [rbp + rax + 0x10]
sub qword [0x140d3f4c0], rax
jmp 0x140103e38
xor esi, esi
jmp 0x140103cb3
add esi, 1
cmp esi, 0x63
ja 0x140103cd0
pause
cmp byte [0x140dc0541], 0
jne 0x140103cb0
jmp 0x140103ceb
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 [0x140dc0541], 0
jne 0x140103cb0
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x140103cb0
jmp 0x140103970
mov rcx, rdi
mov rdx, rbp
call fcn.140134c00
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x140103c1c
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rax, qword [0x140d802c0]
lea rcx, [rax - 1]
test rcx, r15
jne 0x1401047eb
sub r15, rax
mov al, 1
xchg byte [0x140dc0500], al
test al, al
jne 0x1401041c2
mov r9, qword [r15 + 0x18]
mov rcx, qword [0x140d802c8]
mov rax, qword [rcx + r9*8]
cmp rax, r15
jne 0x14010482c
mov rax, qword [0x140dc02d0]
cmp r9, rax
jae 0x14010480f
lea rdx, [rax - 1]
mov qword [0x140dc02d0], rdx
mov rax, qword [rcx + rax*8 - 8]
mov qword [rcx + r9*8], rax
mov rax, qword [0x140d802c8]
mov rax, qword [rax + r9*8]
mov qword [rax + 0x18], r9
mov byte [0x140dc02d8], 0
add qword [0x140dc02e8], 1
mov rax, qword [r15 + 8]
sub qword [0x140dc02f0], rax
sub qword [0x140dc0518], rax
sub qword [0x140dc0520], rax
mov byte [0x140dc0500], 0
mov rbp, qword [r15]
test rbp, rbp
je 0x140103e38
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140103e38
mov r8d, 0x30
mov rcx, rbp
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140104853
mov rcx, rbp
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140103e2e
mov rcx, rbp
mov rdx, rbx
mov r8d, 0x4000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x140104952
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 0x140103909
mov al, byte [0x140dc0540]
test al, al
je 0x140103e80
movabs rax, 0x7fffffffffff
cmp rsi, rax
jbe 0x140104102
jmp 0x1401042a0
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x14010421c
cmp byte [0x140dc0540], 0
jne 0x1401040e8
mov byte [0x140dc0508], 0
mov byte [0x140dc0509], 0
mov byte [0x140dc050a], 0
mov byte [0x140dc050b], 0
mov byte [0x140dc050c], 0
mov byte [0x140dc050d], 0
mov byte [0x140dc050e], 0
mov byte [0x140dc050f], 0
mov byte [0x140dc0510], 0
mov byte [0x140dc0511], 0
mov byte [0x140dc0512], 0
mov byte [0x140dc0513], 0
mov byte [0x140dc0514], 0
mov byte [0x140dc0515], 0
mov byte [0x140dc0516], 0
mov byte [0x140dc0517], 0
mov byte [0x140dc0518], 0
mov byte [0x140dc0519], 0
mov byte [0x140dc051a], 0
mov byte [0x140dc051b], 0
mov byte [0x140dc051c], 0
mov byte [0x140dc051d], 0
mov byte [0x140dc051e], 0
mov byte [0x140dc051f], 0
mov byte [0x140dc0520], 0
mov byte [0x140dc0521], 0
mov byte [0x140dc0522], 0
mov byte [0x140dc0523], 0
mov byte [0x140dc0524], 0
mov byte [0x140dc0525], 0
mov byte [0x140dc0526], 0
mov byte [0x140dc0527], 0
mov byte [0x140dc0528], 0
mov byte [0x140dc0529], 0
mov byte [0x140dc052a], 0
mov byte [0x140dc052b], 0
mov byte [0x140dc052c], 0
mov byte [0x140dc052d], 0
mov byte [0x140dc052e], 0
mov byte [0x140dc052f], 0
lea rax, [0x140dc0508]
mov qword [0x140dc0508], rax
mov qword [0x140dc0510], rax
mov byte [0x140d3f500], 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 0x140103fe0
lea rcx, [0x140d7f540]
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 0x140104030
mov rax, qword [0x140dc0558]
test rax, rax
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
jne 0x1401040cc
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 [0x140dc0558], rax
mov qword [0x140d802c0], rax
lea rax, [0x140d802d0]
mov qword [0x140d802c8], rax
mov byte [0x140dc0540], 1
mov byte [0x140dc0541], 0
movabs rax, 0x7fffffffffff
cmp rsi, rax
ja 0x1401042a0
mov rbx, rsi
shr rbx, 0x20
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x1401042a0
mov rbp, rsi
shr rbp, 0x14
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14010426c
and ebp, 0xfff
cmp byte [rax + rbp], 0
je 0x1401042a0
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x140104877
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x140104517
movzx r9d, byte [rax + rbp]
test r9, r9
je 0x140104877
cmp r9b, 0x36
jae 0x14010489b
mov rbx, r9
shl rbx, 0xa
lea rax, [0x140d31cb0]
lea rbp, [rax + rbx]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x14010457c
mov rax, qword [rbp]
cmp rax, rcx
je 0x140104681
lea rcx, [rax + 1]
mov qword [rbp], rcx
mov qword [rbp + rax*8 + 0x20], rsi
lea rax, [0x140d31cb0]
mov rax, qword [rbx + rax + 0x10]
sub qword [0x140d3f4c0], rax
jmp 0x1401038fa
xor esi, esi
jmp 0x1401041d3
add esi, 1
cmp esi, 0x63
ja 0x1401041f0
pause
cmp byte [0x140dc0500], 0
jne 0x1401041d0
jmp 0x14010420b
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 [0x140dc0500], 0
jne 0x1401041d0
mov al, 1
xchg byte [0x140dc0500], al
test al, al
jne 0x1401041d0
jmp 0x140103d57
xor ebx, ebx
jmp 0x140104223
add ebx, 1
cmp ebx, 0x63
ja 0x140104240
pause
cmp byte [0x140dc0541], 0
jne 0x140104220
jmp 0x14010425b
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 [0x140dc0541], 0
jne 0x140104220
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x140104220
jmp 0x140103e90
mov rcx, rdi
mov rdx, rbx
call fcn.140134c00
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and ebp, 0xfff
cmp byte [rax + rbp], 0
jne 0x14010413c
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rax, qword [0x140d802c0]
lea rcx, [rax - 1]
test rcx, rsi
jne 0x1401047eb
sub rsi, rax
mov al, 1
xchg byte [0x140dc0500], al
test al, al
jne 0x1401043af
mov r9, qword [rsi + 0x18]
mov rcx, qword [0x140d802c8]
mov rax, qword [rcx + r9*8]
cmp rax, rsi
jne 0x140104833
mov rax, qword [0x140dc02d0]
cmp r9, rax
jae 0x14010480f
lea rdx, [rax - 1]
mov qword [0x140dc02d0], rdx
mov rax, qword [rcx + rax*8 - 8]
mov qword [rcx + r9*8], rax
mov rax, qword [0x140d802c8]
mov rax, qword [rax + r9*8]
mov qword [rax + 0x18], r9
mov byte [0x140dc02d8], 0
add qword [0x140dc02e8], 1
mov rax, qword [rsi + 8]
sub qword [0x140dc02f0], rax
sub qword [0x140dc0518], rax
sub qword [0x140dc0520], rax
mov byte [0x140dc0500], 0
mov rbx, qword [rsi]
test rbx, rbx
je 0x1401038fa
mov rbp, qword [rsi + 8]
test rbp, rbp
je 0x1401038fa
mov r8d, 0x30
mov rcx, rbx
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140104853
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1401038f0
mov rcx, rbx
mov rdx, rbp
mov r8d, 0x4000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1401038f0
jmp 0x14010497a
xor ebx, ebx
jmp 0x1401043c3
add ebx, 1
cmp ebx, 0x63
ja 0x1401043e0
pause
cmp byte [0x140dc0500], 0
jne 0x1401043c0
jmp 0x1401043fb
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 [0x140dc0500], 0
jne 0x1401043c0
mov al, 1
xchg byte [0x140dc0500], al
test al, al
jne 0x1401043c0
jmp 0x1401042c7
mov rcx, rdi
mov rdx, rbp
call fcn.140134c00
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
movzx r9d, byte [rax + rbx]
test r9, r9
jne 0x140103c46
jmp 0x140104877
lea rax, [0x140d31cb0]
lea rbx, [rax + rbp]
add rbx, 8
mov r10d, 0x10
mov r11, 0xfffffffffffffff1
lea r8, [0x140d320c8]
jmp 0x14010447c
mov qword [r8], rax
add r10, 0x10
add r11, 1
add r8, 0x400
cmp r11, 0x26
je 0x14010453f
mov ecx, 0x200
cmp r11, 0x25
je 0x1401044b7
lea rax, [r11 + 0x10]
mov rcx, r10
cmp rax, 0x11
jb 0x1401044b7
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 0x140104500
test rax, rax
je 0x14010450a
cmp rax, 0x3e
jb 0x1401044d5
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 0x140104460
xor eax, eax
jmp 0x140104460
mov eax, 0x40
test rax, rax
jne 0x1401044ca
mov eax, 1
cmp rax, 0x3e
jae 0x1401044d0
jmp 0x1401044d5
mov rcx, rdi
mov rdx, rbx
call fcn.140134c00
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
movzx r9d, byte [rax + rbp]
test r9, r9
jne 0x140104166
jmp 0x140104877
mov rcx, qword [rbx]
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rax, qword [rsi]
cmp rax, rcx
jne 0x140103c7c
lea rcx, [0x140d31cb0]
mov rdx, rsi
mov r8, rdi
call fcn.14012eaa0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsi]
jmp 0x140103c7c
lea rax, [0x140d31cb0]
lea r15, [rbx + rax]
add r15, 8
mov r10d, 0x10
mov r11, 0xfffffffffffffff1
lea r8, [0x140d320c8]
jmp 0x1401045cc
mov qword [r8], rax
add r10, 0x10
add r11, 1
add r8, 0x400
cmp r11, 0x26
je 0x140104667
mov ecx, 0x200
cmp r11, 0x25
je 0x140104607
lea rax, [r11 + 0x10]
mov rcx, r10
cmp rax, 0x11
jb 0x140104607
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 0x140104650
test rax, rax
je 0x14010465a
cmp rax, 0x3e
jb 0x140104625
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 0x1401045b0
xor eax, eax
jmp 0x1401045b0
mov eax, 0x40
test rax, rax
jne 0x14010461a
mov eax, 1
cmp rax, 0x3e
jae 0x140104620
jmp 0x140104625
mov rcx, qword [r15]
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbp]
cmp rax, rcx
jne 0x14010419d
lea rcx, [0x140d31cb0]
mov rdx, rbp
mov r8, rdi
call fcn.14012eaa0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
mov rax, qword [rbp]
jmp 0x14010419d
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 0x140104734
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 0x140104775
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 0x140104700
mov rcx, qword [rsp + 0x30]
lock cmpxchg qword [rcx + 0xa00028], rdi
jne 0x140104734
mov rcx, qword [rsp + 0x40]
lock add dword [rcx], 1
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x14010477e
test rsi, rsi
jne 0x1401048f1
mov al, byte [0x140dc0540]
test al, al
jne 0x1401047c3
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x140104913
cmp byte [0x140dc0540], 0
jne 0x1401047bc
lea rcx, [0x140d3f500]
mov edx, 0xffffffff
xor r8d, r8d
call fcn.14012aaa0
mov byte [0x140dc0540], 1
mov byte [0x140dc0541], 0
lea rcx, [0x140d3f500]
lea rdx, [0x140d31cb0]
call fcn.14012a8f0
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.1400d9910
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.1400d9910
mov qword [rsp + 0x20], r15
jmp 0x140104838
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.1400d9910
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.1400d9910
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.1400d9910
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.1400d9910
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1401048ca
add esi, 1
cmp esi, 0x63
ja 0x1401048d3
pause
jmp 0x1401048d7
xor ecx, ecx
call rdi
cmp byte [0x140dc0541], 0
jne 0x1401048c7
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x1401048c7
jmp 0x140103726
mov rcx, qword [rsp + 0x30]
lock add dword [rcx + 0xa00034], esi
add rcx, 0xa00034
cmp esi, 1
jne 0x140104948
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
jmp 0x14010477e
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140104921
add esi, 1
cmp esi, 0x63
ja 0x14010492a
pause
jmp 0x14010492e
xor ecx, ecx
call rdi
cmp byte [0x140dc0541], 0
jne 0x14010491e
mov al, 1
xchg byte [0x140dc0541], al
test al, al
jne 0x14010491e
jmp 0x140104798
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll
jmp 0x14010477e
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 0x1401049a0
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.140105bf0
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.1400d9910
int3