Function at 0x140009900
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rbp + 0x98], rax
xor r13d, r13d
lea ecx, [r13 + 8]
call fcn.1400bb718
lea r12, [0x140140d40]
mov qword [rax], r12
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140014eb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14000a265
cmp dword [rbp + 0x68], r13d
je 0x14000a259
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000a259
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov dword [rbp], 0x50
mov dword [rbp + 4], 0x40
lea rax, [0x14000f010]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
lea r15, [0x14011a7f8]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r13
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x140140dc0]
cvttss2si esi, dword [0x140140dbc]
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 [0x140140dc0]
mulss xmm0, dword [0x1401210a4]
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 [0x140140dbc]
mulss xmm0, dword [0x1401210a4]
subss xmm1, xmm0
cvttss2si ecx, xmm1
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
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 + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140140dc8], rax
movdqa xmm0, xmmword [0x140121200]
movdqu xmmword [rbp + 0x70], xmm0
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x140140dc8]
mov qword [rbp - 0x7c], r13
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r13
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x80], 0xb000
mov dword [rbp + 0x84], 0xa000
lea rax, [0x140140df8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [0x140140df0]
mov qword [rsp + 0x48], rax
lea rax, [0x140140e00]
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 + 0x80]
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 0x140009b9b
call fcn.14000f0a0
jmp 0x14000a23d
mov rcx, qword [0x140140e00]
mov rax, qword [rcx]
lea r9, [rbp + 0x50]
lea r8, [0x14011f5b8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140140df0]
mov rax, qword [rcx]
lea r9, [0x140140e08]
xor r8d, r8d
mov rdx, qword [rbp + 0x50]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, qword [0x140140dc8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140140dc8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140141e08]
test rbx, rbx
je 0x140009c0b
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x80], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140009c3c
xor edx, edx
mov rcx, rax
call fcn.14001b3d0
jmp 0x140009c3f
mov rax, r13
mov qword [0x140141e08], rax
call fcn.14001ef80
test rbx, rbx
je 0x140009c57
mov qword [0x140141e08], rbx
xor ecx, ecx
call fcn.14003bba0
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 rdi, qword [0x140141e08]
mov qword [rdi + 0x20], r13
mov dword [rbp - 0x44], 0x10c
lea rbx, [0x1401208c8]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
movss xmm2, dword [0x140121138]
mov rcx, qword [rdi + 0x38]
call fcn.1400408d0
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
movss xmm2, dword [0x140121148]
mov rcx, qword [rdi + 0x38]
call fcn.1400408d0
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
movss xmm2, dword [0x14012113c]
mov rcx, qword [rdi + 0x38]
call fcn.1400408d0
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
movss xmm2, dword [0x140121128]
mov rcx, qword [rdi + 0x38]
call fcn.1400408d0
lea rbx, [0x140141f68]
mov rdx, rbx
cmp qword [0x140141f80], 0xf
cmova rdx, qword [0x140141f68]
mov qword [rsp + 0x20], r13
xor r9d, r9d
movss xmm2, dword [0x140121134]
mov rcx, qword [rdi + 0x38]
call fcn.140040e90
mov qword [0x140140d40], rax
cmp qword [0x140141f80], 0xf
cmova rbx, qword [0x140141f68]
mov qword [rsp + 0x20], r13
xor r9d, r9d
movss xmm2, dword [0x140121154]
mov rdx, rbx
mov rcx, qword [rdi + 0x38]
call fcn.140040e90
mov qword [0x140140d48], rax
mov rax, qword [0x140141e08]
mov dword [rax + 0x37dc], 0x3f800000
mov dword [rax + 0x37d8], 0x41400000
movups xmm0, xmmword [0x140141f20]
movups xmmword [rax + 0x38c4], xmm0
movups xmm1, xmmword [0x140141f40]
movups xmmword [rax + 0x38f4], xmm1
cmp qword [0x140140e18], 0
jne 0x140009e20
mov qword [rsp + 0x30], r13
lea rax, [0x140140e18]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140140e68]
mov qword [rsp + 0x20], rax
lea r9, [0x140140e30]
mov r8d, 0x9278
lea rdx, [0x140137ac0]
mov rcx, qword [0x140140df0]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140140e20], 0
jne 0x140009e68
mov qword [rsp + 0x30], r13
lea rax, [0x140140e20]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140140e68]
mov qword [rsp + 0x20], rax
lea r9, [0x140140e30]
mov r8d, 0x39f9
lea rdx, [0x1401340c0]
mov rcx, qword [0x140140df0]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rcx, qword [0x140140dc8]
call fcn.140045f10
mov r15, qword [0x140140df8]
mov rsi, qword [0x140140df0]
mov rdi, qword [0x140141e08]
test rdi, rdi
je 0x140009e94
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 0x140009ed5
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 0x140009ed8
mov rbx, r13
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], r13
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x50], r13
mov rax, qword [rsi]
lea r8, [rsp + 0x68]
lea rdx, [0x140120db8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140009f61
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 0x80]
lea rdx, [0x140120dc8]
call qword [rax + 0x30]
test eax, eax
jne 0x140009f61
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
lea rdx, [0x140120dd8]
call qword [rax + 0x30]
test eax, eax
jne 0x140009f61
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140009f71
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140009f83
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
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 0x140009ffe
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 0x140009fc0
mov rax, qword [0x140141e08]
test rax, rax
je 0x14000a013
mov rcx, qword [rax + 0x98]
jmp 0x14000a016
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x14000a022
call fcn.1400458b0
call fcn.140046890
call fcn.140021600
cmp byte [0x140140db4], 0
je 0x14000a03d
mov rcx, r12
call fcn.14000a940
cmp byte [0x140140db5], 0
je 0x14000a04e
mov rcx, r12
call fcn.14000b280
cmp byte [0x140140db6], 0
je 0x14000a05f
mov rcx, r12
call fcn.14000bc30
cmp byte [0x140140db7], 0
je 0x14000a070
mov rcx, r12
call fcn.14000c9a0
cmp byte [0x140140db8], 0
je 0x14000a081
mov rcx, r12
call fcn.14000d720
cmp byte [0x140140db9], 0
je 0x14000a092
mov rcx, r12
call fcn.14000e490
call fcn.1400236f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov rcx, qword [0x140140df8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140140e08]
mov edx, r14d
call qword [rax + 0x108]
mov rcx, qword [0x140140df8]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
mov rdx, qword [0x140140e08]
call qword [rax + 0x190]
mov rax, qword [0x140141e08]
mov rax, qword [rax + 0x48c8]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r13
cmp byte [rcx], r13b
cmovne rax, rcx
mov rcx, rax
call fcn.140044e50
mov rcx, qword [0x140140e00]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
test bl, bl
je 0x140009fa0
mov rbx, qword [0x140141e08]
test rbx, rbx
je 0x14000a133
mov rdi, qword [rbx + 0x98]
jmp 0x14000a136
mov rdi, r13
call fcn.140045df0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a14a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000a158
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000a167
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140141e08]
test rax, rax
je 0x14000a18b
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140141e08]
test rax, rax
je 0x14000a1a9
mov rdi, qword [rax + 0x90]
jmp 0x14000a1ac
mov rdi, r13
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14000a1c6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140141e08]
mov qword [rbx + 0x78], r13
mov qword [rbx + 0x88], r13
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14000a1e0
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140141e08]
mov qword [0x140141e08], rbx
call fcn.14001f3c0
mov qword [0x140141e08], r13
test rbx, rbx
je 0x14000a22b
mov rcx, rbx
call fcn.140034580
mov rax, qword [0x140141e08]
test rax, rax
je 0x14000a222
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14000f0a0
mov rcx, qword [0x140140dc8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
cmp dword [rbp + 0x68], 0
je 0x14000a275
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x68], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1400bb6f0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
jmp 0x140009900