Function at 0x42cdc0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42d17e
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.0042d7e0
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x42d155
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x4f8]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.0040a260
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x500], rcx
mov rax, qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, qword [r14 + 0x30]
movups xmmword [rcx + 0x2e8], xmm15
call fcn.0042d400
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x518], 0
jne 0x42cf0e
cmp byte [0x0077fef3], 0
je 0x42cf0e
mov rax, qword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.0042d660
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x518], rax
test rax, rax
je 0x42d12d
cmp qword [rcx + 0x528], 0
jne 0x42cfdf
cmp byte [0x0077ff02], 0
je 0x42cfdf
mov rax, qword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.0042d660
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x520], rax
nop word [rax + rax]
test rax, rax
je 0x42d105
mov rax, qword [0x00739908]
lea rdx, [rcx + 0x528]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], 0x10000000
mov qword [rsp + 0x18], 0
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x528], 0
je 0x42d0ef
nop
nop
mov rax, qword [rsp + 0x88]
call fcn.0040a4c0
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [sym.imp.kernel32.dll_VirtualQuery]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42d0c7
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
nop
cmp rsi, rdx
jb 0x42d0ac
sub rsi, rcx
lea rcx, [rsi - 0x4000]
cmp rcx, 0x4000000
ja 0x42d0ac
mov qword [r14], rdx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
call fcn.00460a40
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x98
pop rbp
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, str.bad_g0_stackself_preemptbad_recoverybad_g_statusentersyscallcas64_failedabi_mismatchwrong_timers
mov ebx, 0xc
call fcn.0045a060
call fcn.00462400
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0063e81b]
mov ebx, 0x22
call fcn.0045a060
lea rax, [0x0063ea22]
mov ebx, 0x23
nop dword [rax + rax]
call fcn.0045a060
call fcn.00462400
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00640f3f]
mov ebx, 0x30
call fcn.0045a060
call fcn.00462400
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00640f3f]
mov ebx, 0x30
call fcn.0045a060
call fcn.00462400
xorps xmm15, xmm15
mov r14, qword [0x00780128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0063ef0f]
mov ebx, 0x25
call fcn.0045a060
nop
nop
call fcn.0045ece0
jmp fcn.0042cdc0