Function at 0x14007ceb0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1401b6080]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rax, [0x14007d8e0]
mov dword [rbp - 0x70], 0x50
xor r12d, r12d
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x6c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [0x1401ee500], 0xf
lea rbx, [0x1401ee4e8]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x28], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov rax, rbx
movdqa xmmword [rbp - 0x40], xmm1
cmova rax, qword [0x1401ee4e8]
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x58]
mov r9d, 0x80000000
cmp qword [0x1401ee500], 0xf
mov rdx, qword [rbp - 0x30]
cmova rbx, qword [0x1401ee4e8]
xor ecx, ecx
mov qword [rsp + 0x58], r12
mov r8, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1401ee0f0], rax
call fcn.14001ce20
mov rbx, qword [0x1401ee0f0]
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1401ee140], rax
mov rcx, rax
test rax, rax
je 0x14007d871
xorps xmm0, xmm0
lea rdx, [0x1401ee0f8]
movups xmmword [0x1401ee120], xmm0
mov qword [rsp + 0x30], rdx
lea r13, [0x1401ee100]
movups xmmword [0x1401ee130], xmm0
mov dword [0x1401ee128], 1
mov r9, rbx
movups xmmword [0x1401ee100], xmm0
mov dword [0x1401ee108], r12d
xor edx, edx
movups xmmword [0x1401ee110], xmm0
mov dword [0x1401ee118], 1
lea r8d, [r12 + 1]
mov dword [0x1401ee12c], 1
mov dword [0x1401ee130], 0x50
mov dword [0x1401ee13c], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x14007d86a
lea ecx, [r12 + 8]
call fcn.1400cf0a0
lea rcx, [0x14007cd30]
mov r9, rax
lea r8, [0x14007dd90]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14007d85a
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], r14
mov qword [rsp + 0x140], r15
movaps xmmword [rsp + 0x130], xmm6
call fcn.140013c80
mov rcx, qword [0x1401ee0f0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401ee0f0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1401ede70]
test rax, rax
je 0x14007d0f2
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007d10e
xor edx, edx
mov rcx, rax
call fcn.140022eb0
jmp 0x14007d111
mov rax, r12
cmp qword [0x1401ede70], r12
jne 0x14007d121
mov qword [0x1401ede70], rax
mov rcx, rax
call fcn.14002ac30
call fcn.140014980
mov rdi, qword [0x1401ee0f0]
lea rcx, [0x1401ee258]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14007d333
lea rcx, [0x1401ee250]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14007d333
mov rbx, qword [0x1401ede70]
test rbx, rbx
jne 0x14007d18c
mov r8d, 0xda0
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401ede70]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x1401ee248], rdi
cmp dword [rbx + 0x1ef0], r12d
jg 0x14007d1d2
mov r8d, 0x6c8
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1401ee248]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x48], rdi
test dword [rbx + 8], 0x400
je 0x14007d1f2
call fcn.1400627f0
lea rax, str.xinput1_4.dll
mov dword [rbx + 0x3c], 9
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov dword [rbx + 0x40], Ordinal_41
mov dword [rbx + 0x44], Ordinal_41
mov dword [rbx + 0x48], Ordinal_41
mov dword [rbx + 0x4c], Ordinal_41
mov dword [rbx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rbx + 0x54], Ordinal_35
mov dword [rbx + 0x58], Ordinal_41
mov dword [rbx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rbx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rbx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbx + 0x70], reloc.WS2_32.dll_listen
mov dword [rbx + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rbx + 0x78], reloc.WS2_32.dll_listen
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
mov rbx, r12
mov qword [rbp - 0x80], rax
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14007d2fe
inc rbx
cmp rbx, 5
jl 0x14007d2e0
jmp 0x14007d333
lea rdx, str.XInputGetCapabilities
mov qword [0x1401ee230], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x1401ee238], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ee240], rax
mov rbx, qword [0x1401ede70]
mov rdi, qword [0x1401ee0f8]
test rbx, rbx
jne 0x14007d367
mov r8d, 0xda0
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401ede70]
or dword [rbx + 0xc], 0x1008
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [0x1401ee220], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14007d408
mov rax, qword [0x1401ede70]
test rax, rax
jne 0x14007d3c2
mov r8d, 0xda6
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1401ede70]
lea rcx, [fcn.140060830]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.140060970]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x140060a10]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140060a90]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140060be0]
mov qword [rax + 0x1610], rcx
movss xmm6, dword [0x1401a305c]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007d457
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14007d6f8
cmp qword [0x1401ee210], r12
jne 0x14007d465
call fcn.140060590
call fcn.140061270
call fcn.140029aa0
call fcn.14001ddf0
call fcn.14002c2c0
mov rcx, qword [0x1401ee0f8]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1401ee0f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14007d51a
call fcn.14002c7c0
mov rbx, qword [0x1401ede70]
cmp dword [rbx + 0x1ef0], r12d
jg 0x14007d4e7
mov r8d, 0x6c8
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov rax, r12
add rcx, 0xa8
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.14005fc70
mov rcx, qword [0x1401ee0f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rax, qword [0x1401ede70]
test rax, rax
jne 0x14007d547
mov r8d, 0xda0
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1401ede70]
test dword [rax + 8], 0x400
je 0x14007d682
call fcn.14003f280
mov rdi, qword [0x1401ede70]
test rdi, rdi
jne 0x14007d586
mov r8d, 0xda6
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1401ede70]
mov eax, dword [rdi + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14007d607
test rsi, rsi
js 0x14007d5a2
cmp r14d, eax
jl 0x14007d5bc
mov r8d, 0x6c8
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x1630]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x14007d5f6
mov rax, qword [rdi + 0x15c0]
test rax, rax
je 0x14007d5e3
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x1608]
test rax, rax
je 0x14007d5f6
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rdi + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x14007d598
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14007d682
test rsi, rsi
js 0x14007d61d
cmp r14d, eax
jl 0x14007d637
mov r8d, 0x6c8
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x1630]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x14007d671
mov rax, qword [rdi + 0x15c8]
test rax, rax
je 0x14007d65e
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x1610]
test rax, rax
je 0x14007d671
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rdi + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x14007d613
mov rcx, qword [0x1401ee0f8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14007d6f8
mov rcx, qword [0x1401ee0f8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14007d6f8
call fcn.1400606a0
mov rcx, qword [0x1401ee0f8]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x14007d6f3
mov r8d, 0x41
lea rdx, str.C:UsersxifibOneDriveBureauVXVirtual_X_Loader_V3BackendBackendStart.cpp
lea rcx, [0x140198624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140060590
cmp dword [rbp - 8], 0x12
jne 0x14007d420
movaps xmm6, xmmword [rsp + 0x130]
mov r15, qword [rsp + 0x140]
mov r14, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x170]
call fcn.14003fab0
call fcn.1400606a0
mov rcx, qword [0x1401ee220]
test rcx, rcx
je 0x14007d74d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401ee220], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1401ee230]
test rcx, rcx
je 0x14007d777
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x1401ede70]
mov rcx, rbx
mov qword [0x1401ee230], r12
mov qword [0x1401ee238], r12
mov qword [0x1401ee240], r12
mov qword [0x1401ee248], r12
mov qword [0x1401ee250], r12
mov qword [0x1401ee258], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x1401ee09e], r12b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.14002afd0
cmp qword [0x1401ede70], rbx
jne 0x14007d7d8
mov qword [0x1401ede70], r12
test rbx, rbx
je 0x14007d800
mov rcx, rbx
call fcn.14004c220
mov rax, qword [0x1401ede70]
test rax, rax
je 0x14007d7f7
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401ee0f8]
test rcx, rcx
je 0x14007d819
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401ee0f8], r12
mov rcx, qword [0x1401ee140]
test rcx, rcx
je 0x14007d832
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401ee140], r12
mov rcx, qword [0x1401ee0f0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
cmp dword [rbp - 0x18], r12d
je 0x14007d8b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp - 0x18], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, qword [0x1401ee140]
mov rdx, qword [0x1401ee0f8]
test rdx, rdx
je 0x14007d894
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401ee140]
mov qword [0x1401ee0f8], r12
test rcx, rcx
je 0x14007d8a6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401ee140], r12
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400cf080
add rsp, 0x148
pop r13
pop r12
pop rbx
pop rbp
ret