Function at 0x18000eb70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x18019d080]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor r12d, r12d
mov ecx, 8
call fcn.180127b80
lea rcx, [0x18000c8d0]
mov qword [rax], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x18001ac10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x18000f307
cmp dword [rbp + 0x58], r12d
je 0x18000f2fb
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18000f2fb
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [0x1801b99b0]
call fcn.1800d1150
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 0x40
lea rax, [0x180011bf0]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
lea r15, [0x1801581d0]
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r12
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si edi, dword [0x1801b7bd0]
cvttss2si esi, dword [0x1801b7bcc]
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1801b7bd0]
mulss xmm0, dword [0x1801816bc]
subss xmm1, xmm0
cvttss2si ebx, xmm1
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1801b7bcc]
mulss xmm0, dword [0x1801816bc]
subss xmm1, xmm0
cvttss2si ecx, xmm1
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov r9d, 0x80000000
mov r8, r15
mov rdx, qword [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
mov qword [0x1801b7bd8], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x18000ed8d
lea rdx, str.SetWindowCompositionAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ed84
movdqa xmm0, xmmword [reloc.WS2_32.dll_closesocket]
movdqu xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x40], reloc.WS2_32.dll_send
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x30], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x40]
mov rcx, rdi
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movdqa xmm0, xmmword [0x180181850]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1801b7bd8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x1801b7bd8]
mov qword [rbp - 0x7c], r12
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], Ordinal_33
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x50], 0xb000
mov dword [rbp + 0x54], 0xa000
lea rax, [0x1801b7be8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [0x1801b7be0]
mov qword [rsp + 0x48], rax
lea rax, [0x1801b7bf0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x18000eea6
call fcn.180011c80
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180127b60
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [0x1801b7bf0]
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [0x18017f8d8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1801b7be0]
mov rax, qword [rcx]
lea r9, [0x1801b7bf8]
xor r8d, r8d
mov rdx, qword [rbp + 0x30]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, qword [0x1801b7bd8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1801b7bd8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1801b9918]
test rbx, rbx
je 0x18000ef16
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x30], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x50], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18000ef44
xor edx, edx
mov rcx, rax
call fcn.1800259d0
jmp 0x18000ef47
mov rax, r12
mov qword [0x1801b9918], rax
call fcn.1800295f0
test rbx, rbx
je 0x18000ef5f
mov qword [0x1801b9918], rbx
call fcn.18000f320
mov rcx, qword [0x1801b7bd8]
call fcn.18004ffc0
mov r15, qword [0x1801b7be8]
mov rsi, qword [0x1801b7be0]
mov rdi, qword [0x1801b9918]
test rdi, rdi
je 0x18000ef90
inc dword [rdi + 0xf0]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18000efd1
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x18000efd4
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rsp + 0x68], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x30], r12
mov rax, qword [rsi]
lea r8, [rsp + 0x68]
lea rdx, [0x180181308]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x18000f054
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
lea rdx, [0x180181318]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x18000f054
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
lea rdx, [0x180181328]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x18000f054
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x30]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000f064
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x18000f073
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor bl, bl
nop dword [rax + rax]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18000f0ee
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx ebx, bl
cmp dword [rsp + 0x78], 0x12
cmove ebx, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18000f0b0
mov rax, qword [0x1801b9918]
test rax, rax
je 0x18000f103
mov rcx, qword [rax + 0x98]
jmp 0x18000f106
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x18000f112
call fcn.18004f960
call fcn.180050940
call fcn.18002bcf0
cmp byte [0x1801b7bc7], 0
je 0x18000f12a
call fcn.180010ab0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x18000f138
call fcn.18000f890
cmp byte [0x1801b7bc8], 0
je 0x18000f146
call fcn.180010160
cmp byte [0x1801b7bc9], 0
je 0x18000f154
call fcn.1800112c0
call fcn.18002de00
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov rcx, qword [0x1801b7be8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1801b7bf8]
mov edx, r14d
call qword [rax + 0x108]
mov rcx, qword [0x1801b7be8]
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
mov rdx, qword [0x1801b7bf8]
call qword [rax + 0x190]
mov rax, qword [0x1801b9918]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.18004eef0
mov rcx, qword [0x1801b7bf0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
test bl, bl
je 0x18000f090
mov rbx, qword [0x1801b9918]
test rbx, rbx
je 0x18000f1ec
mov rdi, qword [rbx + 0x98]
jmp 0x18000f1ef
mov rdi, r12
call fcn.18004fea0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18000f203
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000f211
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18000f220
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1801b9918]
test rax, rax
je 0x18000f244
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1801b9918]
test rax, rax
je 0x18000f262
mov rdi, qword [rax + 0x90]
jmp 0x18000f265
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18000f27f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1801b9918]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x18000f299
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1801b9918]
mov qword [0x1801b9918], rbx
call fcn.180029a30
mov qword [0x1801b9918], r12
test rbx, rbx
je 0x18000f2e4
mov rcx, rbx
call fcn.18003f2d0
mov rax, qword [0x1801b9918]
test rax, rax
je 0x18000f2db
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.180011c80
mov rcx, qword [0x1801b7bd8]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x18000ee6b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x58], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3