Function at 0x180009800
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 [0x18015b080]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r12d, r12d
mov ecx, 8
call fcn.18010d3a0
lea rcx, [0x180009290]
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, [0x18000efc0]
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 0x18000a08b
cmp dword [rbp + 0x78], r12d
je 0x18000a07f
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 0x18000a07f
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
lea rcx, [0x18015f000]
call fcn.1800b77c0
mov dword [rbp], 0x50
mov dword [rbp + 4], 0x40
lea rax, [0x18000af40]
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 [0x18015dc8c]
cvttss2si esi, dword [0x18015dc88]
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 [0x18015dc8c]
mulss xmm0, dword [0x180142f20]
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 [0x18015dc88]
mulss xmm0, dword [0x180142f20]
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, [0x18013c252]
mov rdx, qword [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x18015dc90], rax
movdqa xmm0, xmmword [0x180143030]
movdqu xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x18015dc90]
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, [0x18015dcc0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [0x18015dcb8]
mov qword [rsp + 0x48], rax
lea rax, [0x18015dcc8]
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 0x180009add
call fcn.18000afd0
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.18010d380
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 [0x18015dcc8]
mov rax, qword [rcx]
lea r9, [rbp + 0x60]
lea r8, [0x18013c9b0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x18015dcb8]
mov rax, qword [rcx]
lea r9, [0x18015dcd0]
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 [0x18015dc90]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x18015dc90]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x18015ef70]
test rbx, rbx
je 0x180009b4d
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 0x180009b7b
xor edx, edx
mov rcx, rax
call fcn.18000f4c0
jmp 0x180009b7e
mov rax, r12
mov qword [0x18015ef70], rax
call fcn.180012fd0
test rbx, rbx
je 0x180009b96
mov qword [0x18015ef70], rbx
xor ecx, ecx
call fcn.18002fad0
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 [0x18015ef70]
mov dword [rbp - 0x44], 0x10c
lea rdi, [0x1801424c8]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x180142fa4]
mov rcx, qword [rbx + 0x38]
call fcn.180033f70
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x180142fb4]
mov rcx, qword [rbx + 0x38]
call fcn.180033f70
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
movss xmm2, dword [0x180142fa8]
mov rcx, qword [rbx + 0x38]
call fcn.180033f70
mov rax, qword [0x18015ef70]
mov dword [rax + 0x37dc], 0x3f800000
mov dword [rax + 0x37d8], 0x41200000
movups xmm0, xmmword [0x18015f320]
movups xmmword [rax + 0x38c4], xmm0
movups xmm1, xmmword [0x18015f340]
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 [0x18015dce0], 0
jne 0x180009cf4
mov qword [rsp + 0x30], r12
lea rax, [0x18015dce0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x18015dd28]
mov qword [rsp + 0x20], rax
lea r9, [0x18015dcf0]
mov r8d, 0x2aee
lea rdx, [0x18015b130]
mov rcx, qword [0x18015dcb8]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rcx, qword [0x18015dc90]
call fcn.1800391e0
mov r15, qword [0x18015dcc0]
mov rsi, qword [0x18015dcb8]
mov rdi, qword [0x18015ef70]
test rdi, rdi
je 0x180009d20
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 0x180009d61
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 0x180009d64
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, [0x1801429b8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x180009de4
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
lea rdx, [0x1801429c8]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x180009de4
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
lea rdx, [0x1801429d8]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x180009de4
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 0x180009df4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x180009e03
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 [0x18015dc90]
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 0x180009e8e
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 0x180009e50
mov rax, qword [0x18015ef70]
test rax, rax
je 0x180009ea3
mov rcx, qword [rax + 0x98]
jmp 0x180009ea6
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x180009eb2
call fcn.180038b80
call fcn.180039b60
call fcn.1800156d0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180009eca
call fcn.18000a2e0
cmp byte [0x18015dc85], 0
je 0x180009ed8
call fcn.18000a730
call fcn.1800177e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rcx, qword [0x18015dcc0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x18015dcd0]
mov edx, r14d
call qword [rax + 0x108]
mov rcx, qword [0x18015dcc0]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [0x18015dcd0]
call qword [rax + 0x190]
mov rax, qword [0x18015ef70]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.180038110
mov rcx, qword [0x18015dcc8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
test bl, bl
je 0x180009e30
mov rbx, qword [0x18015ef70]
test rbx, rbx
je 0x180009f70
mov rdi, qword [rbx + 0x98]
jmp 0x180009f73
mov rdi, r12
call fcn.1800390c0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x180009f87
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x180009f95
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180009fa4
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 [0x18015ef70]
test rax, rax
je 0x180009fc8
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18015ef70]
test rax, rax
je 0x180009fe6
mov rdi, qword [rax + 0x90]
jmp 0x180009fe9
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18000a003
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x18015ef70]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x18000a01d
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x18015ef70]
mov qword [0x18015ef70], rbx
call fcn.180013410
mov qword [0x18015ef70], r12
test rbx, rbx
je 0x18000a068
mov rcx, rbx
call fcn.180028510
mov rax, qword [0x18015ef70]
test rax, rax
je 0x18000a05f
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.18000afd0
mov rcx, qword [0x18015dc90]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x180009a9f
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