Function at 0x140007530
Capabilities:
Check for time delay via gettickcount
Resume thread

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov qword [rbp - 0x78], rbp
mov rax, qword [rbp - 0x78]
mov r12, rcx
mov ecx, 0x10
mov qword [rbp - 0xa0], rax
call sym.malloc
mov r15, rax
test rax, rax
je 0x140007699
lea r13, [rbp - 0x70]
mov qword [rax], 0
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, rax
mov r8d, 0x30
mov rdx, r13
call rsi
cmp rax, 0x30
je 0x1400075a6
lea rcx, [0x14002471f]
call sym.GC_default_on_abort.lto_priv.0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rcx, qword [0x14002a2d8]
mov r14, qword [rbp - 0x68]
test rcx, rcx
je 0x140007948
mov rax, rcx
jmp 0x1400075cc
mov rax, qword [rax + 8]
test rax, rax
je 0x140007948
cmp qword [rax], r14
jne 0x1400075bf
mov qword [rbp + 0x10], r12
mov ebx, 0x2710
movabs rdi, 0xcccccccccccccccd
mov rcx, rbx
call sym.malloc
mov r12, rax
test rax, rax
je 0x140007da1
mov r8d, 0x30
mov rdx, r13
mov rcx, rax
call rsi
cmp rax, 0x30
je 0x14000761e
lea rcx, [0x14002471f]
call sym.GC_default_on_abort.lto_priv.0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rcx, r12
mov r14, qword [rbp - 0x68]
add rbx, rbx
call sym.free
mov rcx, qword [0x14002a2d8]
test rcx, rcx
je 0x140007944
mov rax, rcx
jmp 0x140007651
mov rax, qword [rax + 8]
test rax, rax
je 0x140007676
cmp qword [rax], r14
jne 0x140007648
mov rax, rdi
mul qword [0x1400236d0]
shr rdx, 3
cmp rbx, rdx
jae 0x140007676
cmp rbx, 0x7a11f
jbe 0x1400075e4
mov r12, qword [rbp + 0x10]
mov rax, rcx
jmp 0x14000768c
mov rax, qword [rax + 8]
test rax, rax
je 0x140007948
cmp qword [rax], r14
jne 0x14000767f
mov rcx, r15
call sym.free
mov rax, qword [0x14002b0b0]
xor edi, edi
xor r15d, r15d
xor r13d, r13d
xor esi, esi
lea r14, str.Bad_toggle_ref_status_returned_by_callback
test rax, rax
jne 0x1400076e2
jmp 0x14000776a
test eax, eax
je 0x1400076d2
mov rcx, r14
call sym.GC_default_on_abort.lto_priv.0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rax, qword [0x14002b0b0]
add r13, 1
cmp r13, rax
jae 0x14000772f
mov rdx, qword [0x14002b0a8]
mov rbx, qword [rdx + r13*8]
test bl, 1
je 0x1400076f5
not rbx
test rbx, rbx
je 0x1400076d9
mov rcx, rbx
call rsi
cmp eax, 1
je 0x140007924
cmp eax, 2
jne 0x1400076c0
mov rax, qword [0x14002b0a8]
not rbx
add r13, 1
mov qword [rax + r15*8], rbx
mov rax, qword [0x14002b0b0]
add r15, 1
cmp r13, rax
jb 0x1400076e2
cmp r15, rax
jae 0x140007758
mov rdx, qword [0x14002b0a8]
sub rax, r15
lea r8, [rax*8]
lea rcx, [rdx + r15*8]
xor edx, edx
call sym.memset
mov qword [0x14002b0b0], r15
test edi, edi
je 0x14000776a
mov ebx, dword [0x140059688]
test ebx, ebx
jne 0x140007a94
mov r11d, dword [0x14002af0c]
test r11d, r11d
jne 0x140007a4d
mov dword [rbp - 0x98], 0
mov dword [rbp - 0x94], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rbx, [0x14002a2e0]
lea rsi, [0x140055640]
mov r14d, eax
mov rcx, rsi
lea rdi, [rbx + 0x800]
mov r15, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r13, qword [r15]
test r13, r13
jne 0x1400077d9
jmp 0x140007808
mov r13, qword [r13]
test r13, r13
je 0x140007808
mov rax, qword [r13 + 8]
cmp qword [rax], 0
je 0x1400077d0
cmp r14d, dword [r13 + 0x10]
je 0x1400077d0
test byte [r13 + 0x20], 0x21
jne 0x1400077d0
mov rcx, r13
call sym.GC_suspend
mov r13, qword [r13]
test r13, r13
jne 0x1400077d9
nop dword [rax]
add r15, 8
cmp rdi, r15
jne 0x1400077c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call sym.GC_noop6.constprop.0
mov r9d, dword [0x14002aaf4]
mov r15d, dword [0x14002b038]
test r9d, r9d
jne 0x140007a0f
mov qword [0x140059690], 0
test r15d, r15d
jne 0x140007850
mov dword [0x14002b038], 1
mov qword [0x14002b028], 0
mov rsi, qword [rbp - 0xa0]
xor r15d, r15d
jmp 0x14000787b
mov rcx, rsi
call sym.GC_mark_some
test eax, eax
jne 0x140007980
add r15d, 1
call r12
test eax, eax
je 0x140007867
test r15d, r15d
js 0x140007986
mov dword [0x1400596a0], r15d
mov rsi, qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r13, qword [sym.imp.KERNEL32.dll_DebugBreak]
mov r12, qword [rbx]
lea r14, str.ResumeThread_failed
test r12, r12
jne 0x1400078c1
jmp 0x1400078ef
mov r12, qword [r12]
test r12, r12
je 0x1400078ef
test byte [r12 + 0x20], 0x40
je 0x1400078b8
mov rcx, qword [r12 + 0x18]
call rsi
cmp eax, 0xffffffff
jne 0x1400078e0
mov rcx, r14
call sym.GC_default_on_abort.lto_priv.0
call r13
and byte [r12 + 0x20], 0xbf
mov r12, qword [r12]
test r12, r12
jne 0x1400078c1
add rbx, 8
cmp rdi, rbx
jne 0x1400078a0
mov ecx, dword [rbp - 0x98]
test ecx, ecx
jne 0x140007993
test r15d, r15d
jns 0x140007969
mov eax, 1
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [0x14002b0a8]
mov edi, 1
mov qword [rax + r15*8], rbx
mov rax, qword [0x14002b0b0]
add r15, 1
jmp 0x1400076d9
mov r12, qword [rbp + 0x10]
mov esi, dword [0x14002af0c]
test esi, esi
jne 0x140007cef
mov qword [r15], r14
mov qword [r15 + 8], rcx
mov qword [0x14002a2d8], r15
jmp 0x140007699
mov eax, dword [0x14002af0c]
test eax, eax
jne 0x1400079f9
xor eax, eax
jmp 0x140007910
mov r15d, 0xffffffff
add qword [0x14002ab08], 1
jmp 0x140007892
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14002af0c]
mov r10d, eax
test edx, edx
je 0x140007acb
mov ecx, dword [0x14005969c]
mov edx, dword [0x140059698]
test ecx, ecx
js 0x140007d28
cmp edx, 0x3e7
ja 0x140007d28
mov eax, dword [rbp - 0x94]
sub r10d, eax
mov eax, 0x7fffffff
cmp r10d, eax
cmovbe eax, r10d
add eax, ecx
lea ecx, [rdx + 1]
mov dword [0x14005969c], eax
mov dword [0x140059698], ecx
test r15d, r15d
js 0x140007d0a
mov edx, r15d
lea rcx, str.Abandoned_stopped_marking_after__d_iterations_n
call sym.GC_log_printf
xor eax, eax
jmp 0x140007910
mov r8d, dword [0x140059688]
test r8d, r8d
je 0x140007ae0
cmp r15d, 5
jne 0x140007d60
mov r8d, 0x8000
xor edx, edx
lea rcx, [0x140039318]
call sym.memset
mov qword [0x140059690], 0
jmp 0x140007850
mov eax, dword [0x14002ab08]
mov r8d, dword [0x14002af88]
lea rcx, str._n____Marking_for_collection__lu_after__lu_allocated_bytes_n
lea edx, [rax + 1]
call sym.GC_log_printf
mov r10d, dword [0x14002af0c]
test r10d, r10d
je 0x14000777a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x98], 1
mov dword [rbp - 0x94], eax
jmp 0x14000778e
mov rcx, qword [0x14002b0a8]
mov edx, 1
lea rsi, [0x14002af40]
shr rcx, 0xc
and ecx, 0x3ffff
mov rax, rcx
shl rdx, cl
shr rax, 6
add rax, 0x1c7b
lock or qword [rsi + rax*8], rdx
jmp 0x14000776a
test r15d, r15d
js 0x14000790b
xor eax, eax
jmp 0x140007910
cmp r15d, 5
jne 0x140007d31
cmp qword [0x14002b048], 0
je 0x140007d91
xor r10d, r10d
lea rax, [rbp - 0x7c]
mov qword [rbp + 0x10], r12
lea r13, [rbp - 0x70]
mov qword [rbp - 0x90], rax
lea rsi, [0x14002af40]
mov r14d, 1
mov r12, r10
mov qword [rbp - 0xa8], rbx
jmp 0x140007b9c
add rbx, qword [0x140041318]
mov r8, qword [rbx]
mov rbx, qword [rbx + 8]
test r12, r12
je 0x140007b85
cmp r8, qword [0x140055670]
je 0x140007b85
mov eax, dword [0x140055668]
lea edx, [rax + 1]
mov dword [0x140055668], edx
cmp eax, 4
jg 0x140007b85
mov qword [0x140055670], r8
mov rdx, r8
lea rcx, str.GC_Warning:_GC_gww_read_dirty_unexpectedly_failed_at__p:_Falling_back_to_marking_all_pages_dirty_n
mov qword [rbp - 0x88], r8
call qword [sym.GC_default_warn_proc]
mov r8, qword [rbp - 0x88]
cmp r15d, 5
jne 0x140007c20
add r12, 1
cmp r12, qword [0x14002b048]
je 0x140007c06
mov rbx, r12
shl rbx, 4
mov rax, qword [0x140041318]
mov qword [rbp - 0x70], 0x800
mov ecx, 1
lea r9, [0x140055680]
add rax, rbx
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x90]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], rax
call qword [0x140059680]
test eax, eax
jne 0x140007b30
mov rax, qword [rbp - 0x70]
cmp r15d, 5
jne 0x140007c67
cmp rax, 0x800
je 0x140007ba3
add r12, 1
cmp r12, qword [0x14002b048]
jne 0x140007b9c
mov rbx, qword [rbp - 0xa8]
mov r12, qword [rbp + 0x10]
mov r15d, dword [0x14002b038]
jmp 0x140007836
shr rbx, 0xc
je 0x140007b8f
xor edx, edx
xor eax, eax
nop
shl rax, 0xc
mov r10, r14
lea rcx, [r8 + rax]
shr rcx, 0xc
and ecx, 0x3ffff
mov rax, rcx
shl r10, cl
shr rax, 6
or qword [rsi + rax*8 + 0x63d8], r10
lea eax, [rdx + 1]
mov rdx, rax
cmp rax, rbx
jb 0x140007c30
jmp 0x140007b8f
lea rdx, [0x140055680]
lea r9, [rdx + rax*8]
cmp r9, rdx
je 0x140007bf1
mov qword [rbp - 0xb0], r12
mov r10d, dword [rbp - 0x7c]
mov r11, rdx
nop dword [rax]
mov rdx, qword [r11]
mov qword [rbp - 0x88], rax
add r11, 8
lea r12, [rdx + r10]
nop word [rax + rax]
mov r8, rdx
mov rcx, rdx
mov rax, r14
add rdx, 0x1000
shr r8, 0x12
shr rcx, 0xc
and r8d, 0xfff
shl rax, cl
or qword [rsi + r8*8 + 0x63d8], rax
cmp rdx, r12
jb 0x140007ca8
mov rax, qword [rbp - 0x88]
cmp r9, r11
jne 0x140007c90
mov r12, qword [rbp - 0xb0]
jmp 0x140007bf1
lea rcx, str.Found_new_system_malloc_AllocationBase_at__p_n
mov rdx, r14
call sym.GC_log_printf
mov rcx, qword [0x14002a2d8]
jmp 0x140007956
xor edx, edx
xor r8d, r8d
div ecx
mov edx, r10d
lea rcx, str.World_stopped_marking_took__lu_ms__lu_ns___u_ms_in_average__n
mov r9d, eax
call sym.GC_log_printf
jmp 0x14000790b
shr ecx, 1
shr edx, 1
jmp 0x1400079ca
xor edx, edx
mov r8d, 0x8000
lea rcx, [0x140031318]
call sym.memset
cmp qword [0x14002b048], 0
jne 0x140007af8
jmp 0x140007836
lea rsi, [0x140039318]
mov r8d, 0x8000
mov rdx, rsi
lea rcx, [rsi - 0x8000]
call sym.memcpy
mov r8d, 0x8000
xor edx, edx
mov rcx, rsi
call sym.memset
jmp 0x140007836
mov qword [0x140059690], 0
jmp 0x140007850
mov rcx, r15
mov r12, qword [rbp + 0x10]
call sym.free
jmp 0x140007699