Function at 0x42f340
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x42f6ee
push rbp
mov rbp, rsp
sub rsp, 0xa8
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.0042fca0
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x42f68d
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x98], rax
test byte [rax], al
lea rcx, [rax + 0x5d0]
mov qword [rsp + 0xa0], rcx
nop
mov rax, rcx
call fcn.0040a340
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x98]
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.0042f8c0
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x5f0], 0
jne 0x42f48e
cmp byte [0x00585df2], 0
je 0x42f48e
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.0042fb20
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x5f0], rax
test rax, rax
je 0x42f62d
nop
nop
mov rax, qword [rsp + 0xa0]
call fcn.0040a5a0
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.0042faa0
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42f5cc
mov rax, qword [rsp + 0x58]
lea rcx, [rax + 0x4000]
mov qword [rsp + 0x80], rcx
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x90], rdx
cmp rdx, rcx
jb 0x42f561
sub rdx, rax
lea rax, [rdx - 0x4000]
cmp rax, 0x4000000
ja 0x42f561
mov qword [r14], rcx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
call fcn.0045e6c0
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0xa8
pop rbp
nop
ret
call fcn.00433ac0
lea rax, [0x00486197]
mov ebx, 0x13
call fcn.00434340
mov rax, qword [rsp + 0x80]
nop
call fcn.004341c0
lea rax, [0x004a0c30]
mov ebx, 1
call fcn.00434340
mov rax, qword [rsp + 0x90]
nop
call fcn.004341c0
lea rax, [0x00483bb6]
mov ebx, 2
call fcn.00434340
call fcn.00433b20
lea rax, str.bad_g0_stackself_preempt__recovered_bad_recoverybad_g_statusentersyscallwirep:_p__m__p__statusreleasep:_m_sysmonwait_preemptoffcas64_failed_m__gsignal_byte_limit_nruntime:_spabi_mismatchOpenServiceWRevertToSelfCreateEventWGetConsoleCPUnlockFileExVirtualQueryRtlCopyMemorylevel_3_resetsrmount_errortimer_expiredexchange_fullRegEnumKeyExWRegOpenKeyExWCertOpenStoreFindNextFileWMapViewOfFileVirtualUnlockWriteConsoleWFreeAddrInfoWgethostbynamegetservbyname_userprofile_wakeableSleepprofMemActiveprofMemFuturetraceStackTabexecRInternaltestRInternalGC_sweep_waitout_of_memory_is_nil__not_value_method_bad_map_state_span.base__bad_flushGen___not_pointer___sweepgen__MB_globals___work.nproc__work.nwait__nStackRoots_flushedWork_double_unlock_s.spanclass_MB__workersmin_too_large_byte_block__runtime:_valruntime:_seqfatal_error:__idlethreads_syscalltickload64_failedxadd64_failedxchg64_failednil_stackbase_n_tschedpc:__gp__status_pluginpath_runtime:_pid:_unknown_pc__called_from_GetTempPath2WModule32NextWRegDeleteKeyWRegEnumValueWGetConsoleModeVirtualProtectis_a_directoryfile_too_largelevel_2_haltedlevel_3_haltedtoo_many_linksno_such_deviceprotocol_errortext_file_busytoo_many_usersCryptGenRandomCertCloseStoreCreateProcessWFindFirstFileWFormatMessageWGetProcAddressProcess32NextWSetFilePointerNetUserGetInfoGetUserNameExWTranslateNameWgetprotobyname_procedure_in_winapi_error_userArenaStateread_mem_statsallocfreetracegcstoptheworldGC_assist_waitfinalizer_waitsync.Cond.Waits.allocCount_nil_elem_type__to_finalizer_GC_worker_initruntime:_fullruntime:_wantMB__allocated_timeEndPeriod
mov ebx, 0xc
call fcn.00432020
call fcn.00460020
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x88], rax
call fcn.00433ac0
lea rax, [0x004893e1]
mov ebx, 0x24
nop
call fcn.00434340
mov rax, qword [rsp + 0x88]
call fcn.00434080
call fcn.00433d00
call fcn.00433b20
lea rax, [0x0048902c]
mov ebx, 0x22
call fcn.00432020
call fcn.00460020
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x88], rax
call fcn.00433ac0
lea rax, [0x0048a40d]
mov ebx, 0x2d
call fcn.00434340
mov rax, qword [rsp + 0x88]
call fcn.00434080
call fcn.00433d00
call fcn.00433b20
lea rax, [0x0048a97c]
mov ebx, 0x30
call fcn.00432020
call fcn.00460020
xorps xmm15, xmm15
mov r14, qword [0x00585ff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x88], rax
call fcn.00433ac0
lea rax, [0x0048a3e0]
mov ebx, 0x2d
call fcn.00434340
mov rax, qword [rsp + 0x88]
call fcn.00434080
call fcn.00433d00
call fcn.00433b20
lea rax, [0x00489603]
mov ebx, 0x25
call fcn.00432020
nop
call fcn.0045c960
jmp fcn.0042f340