Function at 0x140004930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], r12
call fcn.140001ed0
mov rdx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
mov rcx, rax
mov qword [rbp - 0x18], r12
call fcn.140003600
mov rdi, rax
test rax, rax
jne 0x14000499d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Loading_failed__n
call fcn.1400013a0
mov edi, r12d
jmp 0x1400049e7
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.140002b30
test al, al
je 0x1400049db
mov rcx, rdi
call fcn.140002920
test al, al
jne 0x1400049e7
lea rcx, str.____Loading_imports_failed_
call fcn.1400035a0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, r12
jmp 0x1400049e7
lea rcx, str.____PE_doesnt_have_a_valid_Import_Table__n
call fcn.1400035a0
mov rsi, qword gs:[0x60]
test rsi, rsi
je 0x140004a0f
mov rbx, qword [rsi + 0x38]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rcx, rbx
mov qword [rsi + 0x10], rdi
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rdx, rdi
mov rcx, rdi
call fcn.140001160
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.140004420
mov rcx, rdi
call fcn.1400033b0
lea rbx, [rdi + 0x45c70]
mov r14d, eax
mov qword [0x140013b48], rbx
test rbx, rbx
je 0x140004b9a
mov rcx, rbx
mov word [rbp - 0x30], 0xb848
mov word [rbp - 0x26], 0xe0ff
call fcn.140002400
test al, al
je 0x140004a78
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._WARNING__Patching_NTDLL_is_not_allowed_because_of_possible_stability_issues__n
call fcn.1400013a0
jmp 0x140004b9a
mov dword [rbp - 0x18], r12d
mov qword [rbp - 0x10], rbx
call fcn.140002c90
mov rcx, rax
call fcn.140001b00
mov rsi, rax
test rax, rax
je 0x140004b9a
mov qword [rbp - 0x20], send
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
lea r8, [rbp - 0x20]
mov rcx, rax
lea rdx, [rbp - 0x10]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call rsi
test eax, eax
jne 0x140004b9a
mov rcx, qword [0x140013bc0]
mov qword [rsp + 0x80], r15
test rcx, rcx
je 0x140004aeb
call fcn.14000a1d0
mov qword [0x140013bc8], r12
mov ecx, recv
mov qword [0x140013bd0], rbx
call fcn.14000a1d8
mov qword [0x140013bc0], rax
mov qword [0x140013bc8], 0xc
movsd xmm0, qword [rbx]
movsd qword [rax], xmm0
mov ecx, dword [rbx + 8]
mov dword [rax + 8], ecx
lea rax, [0x1400047c0]
mov r15d, dword [rbp - 0x18]
mov qword [rbp - 0x2e], rax
movsd xmm0, qword [rbp - 0x30]
mov eax, dword [rbp - 0x28]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov qword [rbp - 0x20], rbx
call fcn.140002c90
mov rcx, rax
call fcn.140001b00
mov rsi, rax
test rax, rax
je 0x140004b7a
mov qword [rbp - 0x10], send
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, r15d
lea r8, [rbp - 0x10]
mov rcx, rax
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r15, qword [rsp + 0x80]
lea r8, [rdi + r14]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000a140
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret