Function at 0x42b140
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42b3f9
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.0042b9c0
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x42b3d0
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x5d0]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.00409ac0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x5d8], rcx
mov rax, qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, qword [r14 + 0x30]
movups xmmword [rcx + 0x3c0], xmm15
call fcn.0042b5e0
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x5f0], 0
jne 0x42b28e
cmp byte [0x00668c93], 0
je 0x42b28e
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.0042b840
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x5f0], rax
test rax, rax
je 0x42b3a8
nop
nop
mov rax, qword [rsp + 0x88]
call fcn.00409d20
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.0042b7c0
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42b380
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x42b361
sub rsi, rcx
lea rcx, [rsi - 0x4000]
nop dword [rax]
cmp rcx, 0x4000000
ja 0x42b361
mov qword [r14], rdx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop dword [rax]
call fcn.00452400
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x98
pop rbp
nop
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, str.bad_g0_stackself_preemptbad_recoverybad_g_statusentersyscallcas64_failedabi_mismatchmac
mov ebx, 0xc
call fcn.0042d2c0
nop dword [rax]
call fcn.00453c80
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00538112]
mov ebx, 0x22
call fcn.0042d2c0
call fcn.00453c80
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, str.CreateWaitableTimerEx_when_creating_timer_failedM
mov ebx, 0x30
call fcn.0042d2c0
call fcn.00453c80
xorps xmm15, xmm15
mov r14, qword [0x00668e78]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x005386bf]
mov ebx, 0x25
call fcn.0042d2c0
nop
call fcn.004506a0
nop
jmp fcn.0042b140