Function at 0x140009340
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x140031a78]
or eax, dword [0x140031a74]
mov rsi, rcx
mov edi, edx
mov ebx, r8d
jne 0x1400093e0
mov rax, qword [0x140031fb8]
mov rdx, qword [0x14005c540]
cmp rdx, rax
jae 0x14000939c
mov rcx, qword [0x140031f10]
or rcx, qword [0x14005c538]
je 0x14000939c
sub rax, rdx
imul rax, rax, 0x2710
cmp qword [0x140031f00], rax
jb 0x1400093a5
call fcn.140002b50
test eax, eax
je 0x1400093e0
lea rcx, [fcn.140001810]
call fcn.1400090e0
mov ebp, eax
cmp eax, 1
je 0x1400093bc
test ebx, ebx
jne 0x1400093e5
mov rax, qword [0x140031fb8]
mov qword [0x14005c540], rax
mov rax, qword [0x140031f10]
mov qword [0x14005c538], rax
jmp 0x140009650
mov ebp, 1
mov rcx, qword [0x140025250]
mov rax, qword [0x140031ec0]
xor edx, edx
shl rcx, 0xc
div rcx
lea rbx, [rax + rsi]
cmp rbx, 0x800
jbe 0x140009447
mov ebx, 4
test edi, edi
jne 0x140009427
mov rbx, qword [0x140025268]
shr rbx, 0xc
add rbx, rbx
cmp rbx, rsi
cmova rbx, rsi
movabs rax, 0xfffffffffffff
add rbx, rsi
cmp rbx, rax
cmova rbx, rax
mov eax, 0x800
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
call fcn.140004540
mov edi, eax
test eax, eax
jne 0x140009638
cmp rbx, rsi
je 0x14000946e
mov rcx, rsi
call fcn.140004540
test eax, eax
jne 0x140009638
test ebp, ebp
je 0x140009690
mov eax, dword [0x140031240]
cmp rax, qword [0x14005c530]
lea edx, [rax + 1]
mov dword [0x140031240], edx
jae 0x140009670
xor edx, edx
lea rcx, str.GC_Warning:_Out_of_Memory___Trying_to_continue..._n
call fcn.140003590
mov r12d, dword [0x140031a74]
test r12d, r12d
jne 0x140009650
mov ebp, dword [0x140031a78]
test ebp, ebp
je 0x1400094f0
mov edi, dword [0x140031f90]
test edi, edi
je 0x1400094f0
mov esi, dword [0x140031e94]
test esi, esi
jne 0x140009ac2
nop word [rax + rax]
mov ecx, 1
call fcn.140008e20
mov r11d, dword [0x140031f90]
test r11d, r11d
jne 0x1400094d8
nop
mov ebx, dword [0x140031e94]
xor esi, esi
test ebx, ebx
jne 0x1400097f0
call fcn.140003650
mov r10d, dword [0x140031a70]
test r10d, r10d
jne 0x140009883
mov rax, qword [0x140031f50]
mov rdi, qword [0x140031f28]
mov dword [0x140031f90], 5
sub rax, 0x10
mov qword [0x140031f60], rax
test rdi, rdi
je 0x1400095a3
nop dword [rax]
mov r11d, 0x3ff
jmp 0x140009578
test byte [rax + 0x19], 4
jne 0x14000956f
mov rcx, qword [rdi + 0x2010]
xor edx, edx
shl rcx, 0xa
add rcx, r11
shl rcx, 0xc
call fcn.140001ea0
sub r11, 1
test r11, r11
js 0x140009597
mov rax, qword [rdi + r11*8]
cmp rax, 0xfff
ja 0x140009550
lea rdx, [r11 - 1]
sub r11, rax
test rax, rax
cmove r11, rdx
test r11, r11
jns 0x140009578
mov rdi, qword [rdi + 0x2000]
test rdi, rdi
jne 0x140009540
lea rcx, [fcn.140001810]
mov dword [0x140031f98], 0
mov dword [0x140031f90], 5
mov qword [0x140031f80], 0
mov dword [0x1400605fc], 1
call fcn.140008310
test eax, eax
jne 0x14000980e
mov r9d, dword [0x140031a78]
test r9d, r9d
jne 0x140009650
mov rax, qword [0x140031f50]
mov r8d, dword [0x140031e98]
mov dword [0x140031f90], 5
sub rax, 0x10
mov qword [0x140031f60], rax
test r8d, r8d
je 0x140009a88
mov rdx, qword [0x140031eb0]
mov rcx, qword [0x140031ea0]
mov r8d, 0x8000
call sub.ucrtbase.dll_memcpy
jmp 0x140009650
mov edx, dword [0x140031240]
test edx, edx
je 0x140009650
mov eax, dword [0x140031e94]
test eax, eax
jne 0x14000993d
mov edi, 1
mov eax, edi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [0x140031ec0]
lea rcx, str.GC_Warning:_Out_of_Memory__Heap_size:__ld_MiB._Returning_NULL__n
shr rdx, 0x14
call fcn.140003590
jmp 0x140009655
mov eax, dword [0x140031a74]
test eax, eax
jne 0x140009650
mov eax, dword [0x140031a78]
test eax, eax
jne 0x140009847
mov ebx, dword [0x140031e94]
xor esi, esi
test ebx, ebx
je 0x1400096cd
lea rcx, str.Initiating_full_world_stop_collection__n
mov ebx, 1
call fcn.1400035a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.140003650
mov r14d, dword [0x140031a70]
test r14d, r14d
jne 0x140009998
mov rax, qword [0x140031f50]
mov rdi, qword [0x140031f28]
mov dword [0x140031f90], 5
sub rax, 0x10
mov qword [0x140031f60], rax
test rdi, rdi
je 0x140009773
nop word [rax + rax]
mov r11d, 0x3ff
jmp 0x140009748
test byte [rax + 0x19], 4
jne 0x14000973f
mov rcx, qword [rdi + 0x2010]
xor edx, edx
shl rcx, 0xa
add rcx, r11
shl rcx, 0xc
call fcn.140001ea0
sub r11, 1
test r11, r11
js 0x140009767
mov rax, qword [rdi + r11*8]
cmp rax, 0xfff
ja 0x140009720
lea rdx, [r11 - 1]
sub r11, rax
test rax, rax
cmove r11, rdx
test r11, r11
jns 0x140009748
mov rdi, qword [rdi + 0x2000]
test rdi, rdi
jne 0x140009710
lea rcx, [fcn.140001810]
mov dword [0x140031f98], 0
mov dword [0x140031f90], 5
mov qword [0x140031f80], 0
mov dword [0x1400605fc], 1
call fcn.140008310
test eax, eax
je 0x1400095e0
call fcn.1400064a0
test ebx, ebx
je 0x140009650
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, dword [0x140031e94]
mov edx, eax
test r13d, r13d
je 0x140009650
sub edx, esi
xor r8d, r8d
lea rcx, str.Complete_collection_took__lu_ms__lu_ns_n
call fcn.1400035a0
jmp 0x140009650
lea rcx, str.Initiating_full_world_stop_collection__n
mov ebx, 1
call fcn.1400035a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
jmp 0x140009500
call fcn.1400064a0
test ebx, ebx
je 0x140009650
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x140031e94]
test ecx, ecx
je 0x140009650
sub eax, esi
xor r8d, r8d
lea rcx, str.Complete_collection_took__lu_ms__lu_ns_n
mov edx, eax
call fcn.1400035a0
jmp 0x140009650
mov eax, dword [0x140031f90]
test eax, eax
je 0x1400096a8
mov eax, dword [0x140031e94]
test eax, eax
jne 0x140009ae1
nop dword [rax + rax]
mov ecx, 1
call fcn.140008e20
mov r15d, dword [0x140031f90]
test r15d, r15d
jne 0x140009868
jmp 0x1400096a8
xor r13d, r13d
cmp dword [0x140031e94], 2
je 0x140009aa6
lea rbp, [0x140025040]
lea r14, [rbp + 0x60]
mov rax, qword [rbp + 8]
lea rdi, [0x140031ec0]
lea r15, [rax + 8]
lea r12, [rax + 0x408]
test rax, rax
je 0x14000995b
nop dword [rax]
mov r8, qword [r15]
test r8, r8
je 0x14000994e
mov rdx, r8
shr rdx, 0x16
mov rax, rdx
and eax, 0x7ff
mov rax, qword [rdi + rax*8 + 0x263d0]
cmp rdx, qword [rax + 0x2010]
je 0x140009938
mov rcx, qword [0x140031f78]
jmp 0x140009908
mov rax, qword [rax + 0x2018]
cmp rdx, qword [rax + 0x2010]
je 0x140009938
cmp rax, rcx
jne 0x1400098f8
mov rax, r8
shr rax, 0xc
and eax, 0x3ff
mov rax, qword [rcx + rax*8]
mov rcx, r8
mov rdx, qword [rax]
mov qword [r15], rdx
mov rdx, qword [rax + 0x20]
call fcn.14001e550
jmp 0x1400098c0
mov rcx, rax
jmp 0x14000990d
lea rcx, str.Memory_available_again..._n
call fcn.1400035a0
jmp 0x140009650
add r15, 8
cmp r12, r15
jne 0x1400098c0
add rbp, 0x20
cmp r14, rbp
jne 0x14000989e
cmp dword [0x140031e94], 2
jne 0x140009515
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r8d, r8d
lea rcx, str.Disposing_of_reclaim_lists_took__lu_ms__lu_ns_n
sub eax, r13d
mov edx, eax
call fcn.1400035a0
jmp 0x140009515
xor r13d, r13d
cmp dword [0x140031e94], 2
je 0x140009ab4
lea rbp, [0x140025040]
lea r14, [rbp + 0x60]
mov rax, qword [rbp + 8]
lea rdi, [0x140031ec0]
lea r15, [rax + 8]
lea r12, [rax + 0x408]
test rax, rax
je 0x140009a4b
nop
mov r8, qword [r15]
test r8, r8
je 0x140009a42
mov rdx, r8
shr rdx, 0x16
mov rax, rdx
and eax, 0x7ff
mov rax, qword [rdi + rax*8 + 0x263d0]
cmp rdx, qword [rax + 0x2010]
je 0x140009a1d
mov rcx, qword [0x140031f78]
jmp 0x140009a18
mov rax, qword [rax + 0x2018]
cmp rdx, qword [rax + 0x2010]
je 0x140009a1d
cmp rcx, rax
jne 0x140009a08
mov rdx, r8
mov rcx, r8
shr rdx, 0xc
and edx, 0x3ff
mov rax, qword [rax + rdx*8]
mov rdx, qword [rax]
mov qword [r15], rdx
mov rdx, qword [rax + 0x20]
call fcn.14001e550
jmp 0x1400099d0
add r15, 8
cmp r12, r15
jne 0x1400099d0
add rbp, 0x20
cmp r14, rbp
jne 0x1400099b3
cmp dword [0x140031e94], 2
jne 0x1400096e2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r8d, r8d
lea rcx, str.Disposing_of_reclaim_lists_took__lu_ms__lu_ns_n
sub eax, r13d
mov edx, eax
call fcn.1400035a0
jmp 0x1400096e2
mov rdx, qword [0x140031eb8]
mov rcx, qword [0x140031ea8]
mov r8d, 0x8000
call sub.ucrtbase.dll_memcpy
jmp 0x140009618
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
jmp 0x140009893
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
jmp 0x1400099a8
lea rcx, str.GC_try_to_collect_inner:_finishing_collection_in_progress_n
call fcn.1400035a0
mov ebx, dword [0x140031f90]
test ebx, ebx
jne 0x1400094d8
jmp 0x1400094f0
lea rcx, str.GC_try_to_collect_inner:_finishing_collection_in_progress_n
call fcn.1400035a0
mov eax, dword [0x140031f90]
test eax, eax
jne 0x140009868
jmp 0x1400096a8