Function at 0x18000aa50
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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x180166080]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r12d, r12d
mov ecx, 8
call fcn.1801156b0
lea rcx, [0x180009570]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x18000ff60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x18000b2db
cmp dword [rbp + 0x78], r12d
je 0x18000b2cf
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18000b2cf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
lea rcx, [0x18016a000]
call fcn.1800bfad0
mov dword [rbp], 0x50
mov dword [rbp + 4], 0x40
lea rax, [0x18000bec0]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
lea rax, str.genesis
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r12
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si edi, dword [0x180168c8c]
cvttss2si esi, dword [0x180168c88]
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 [0x180168c8c]
mulss xmm0, dword [0x18014c8ac]
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 [0x180168c88]
mulss xmm0, dword [0x18014c8ac]
subss xmm1, xmm0
cvttss2si ecx, xmm1
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x18]
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
lea r8, [0x1801452a2]
mov rdx, qword [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x180168c90], rax
movdqa xmm0, xmmword [0x18014c9b0]
movdqu xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x180168c90]
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_32
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 + 0x70], 0xb000
mov dword [rbp + 0x74], 0xa000
lea rax, [0x180168cc0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [0x180168cb8]
mov qword [rsp + 0x48], rax
lea rax, [0x180168cc8]
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 + 0x70]
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 0x18000ad2d
call fcn.18000bf50
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180115690
lea r11, [rsp + 0x190]
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 [0x180168cc8]
mov rax, qword [rcx]
lea r9, [rbp + 0x60]
lea r8, [0x180145a20]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x180168cb8]
mov rax, qword [rcx]
lea r9, [0x180168cd0]
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, qword [0x180168c90]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x180168c90]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x180169f70]
test rbx, rbx
je 0x18000ad9d
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x70], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18000adcb
xor edx, edx
mov rcx, rax
call fcn.1800104a0
jmp 0x18000adce
mov rax, r12
mov qword [0x180169f70], rax
call fcn.180013fb0
test rbx, rbx
je 0x18000ade6
mov qword [0x180169f70], rbx
xor ecx, ecx
call fcn.180030ab0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
mov rbx, qword [0x180169f70]
mov dword [rbp - 0x44], 0x10c
lea rdi, [0x18014b568]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x18014c930]
mov rcx, qword [rbx + 0x38]
call fcn.180034f50
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x18014c940]
mov rcx, qword [rbx + 0x38]
call fcn.180034f50
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x18014c934]
mov rcx, qword [rbx + 0x38]
call fcn.180034f50
mov rax, qword [0x180169f70]
mov dword [rax + 0x37dc], 0x3f800000
mov dword [rax + 0x37d8], 0x41200000
movups xmm0, xmmword [0x18016a318]
movups xmmword [rax + 0x38c4], xmm0
movups xmm1, xmmword [0x18016a338]
movups xmmword [rax + 0x38f4], xmm1
mov qword [rbx + 0x20], r12
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
cmp qword [0x180168ce0], 0
jne 0x18000af44
mov qword [rsp + 0x30], r12
lea rax, [0x180168ce0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180168d28]
mov qword [rsp + 0x20], rax
lea r9, [0x180168cf0]
mov r8d, 0x2aee
lea rdx, [0x180166130]
mov rcx, qword [0x180168cb8]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rcx, qword [0x180168c90]
call fcn.18003a1c0
mov r15, qword [0x180168cc0]
mov rsi, qword [0x180168cb8]
mov rdi, qword [0x180169f70]
test rdi, rdi
je 0x18000af70
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 0x18000afb1
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 0x18000afb4
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 + 0x70], r12
mov qword [rbp + 0x60], r12
mov rax, qword [rsi]
lea r8, [rsp + 0x68]
lea rdx, [0x18014ba58]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x18000b034
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
lea rdx, [0x18014ba68]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x18000b034
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
lea rdx, [0x18014ba78]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x18000b034
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x60]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000b044
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x18000b053
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]
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [0x180168c90]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
xor bl, bl
nop word [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 0x18000b0de
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 0x18000b0a0
mov rax, qword [0x180169f70]
test rax, rax
je 0x18000b0f3
mov rcx, qword [rax + 0x98]
jmp 0x18000b0f6
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x18000b102
call fcn.180039b60
call fcn.18003ab40
call fcn.1800166b0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x18000b11a
call fcn.18000b530
cmp byte [0x180168c85], 0
je 0x18000b128
call fcn.18000b980
call fcn.1800187c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rcx, qword [0x180168cc0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x180168cd0]
mov edx, r14d
call qword [rax + 0x108]
mov rcx, qword [0x180168cc0]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [0x180168cd0]
call qword [rax + 0x190]
mov rax, qword [0x180169f70]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.1800390f0
mov rcx, qword [0x180168cc8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
test bl, bl
je 0x18000b080
mov rbx, qword [0x180169f70]
test rbx, rbx
je 0x18000b1c0
mov rdi, qword [rbx + 0x98]
jmp 0x18000b1c3
mov rdi, r12
call fcn.18003a0a0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18000b1d7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000b1e5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18000b1f4
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 [0x180169f70]
test rax, rax
je 0x18000b218
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180169f70]
test rax, rax
je 0x18000b236
mov rdi, qword [rax + 0x90]
jmp 0x18000b239
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18000b253
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x180169f70]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x18000b26d
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x180169f70]
mov qword [0x180169f70], rbx
call fcn.1800143f0
mov qword [0x180169f70], r12
test rbx, rbx
je 0x18000b2b8
mov rcx, rbx
call fcn.1800294f0
mov rax, qword [0x180169f70]
test rax, rax
je 0x18000b2af
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.18000bf50
mov rcx, qword [0x180168c90]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x18000acef
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x78], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3