Function at 0x14005ce20
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x14010f088]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r14d, r14d
mov r12d, 1
mov ecx, r12d
call fcn.1400c3dfc
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14006cb30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14005d982
cmp dword [rbp + 0x18], r14d
jne 0x14005cec2
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14005cee4
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov ebx, 5
call fcn.140059e40
sub rbx, 1
jne 0x14005cef1
lea ecx, [rbx + 8]
call fcn.1400c3dfc
lea rcx, [0x1401106c8]
mov qword [rax], rcx
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14006cb00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14005d972
cmp dword [rbp + 0x18], ebx
jne 0x14005cf50
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14005cf72
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 0x50
mov dword [rbp + 0x24], 0x40
lea rax, [0x14005d9d0]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
lea rbx, str.Loader
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], r14
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rbp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x140110660], rax
test rax, rax
je 0x14005d927
mov qword [0x140110670], r14
mov qword [0x14011067c], r14
mov dword [0x140110684], r14d
mov qword [0x14011068c], r14
mov dword [0x140110694], r14d
mov qword [0x1401106a4], r14
mov dword [0x140110698], r12d
mov dword [0x140110688], r12d
mov dword [0x140110678], r14d
mov dword [0x14011069c], r12d
mov dword [0x1401106a0], 0x50
mov dword [0x1401106ac], r12d
mov rax, qword [rax]
lea rdx, [0x140110668]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140110670]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rsi
mov r8d, r12d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x14005d920
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140110630]
test rax, rax
je 0x14005d0ff
inc dword [rax + 0x3ac]
mov ecx, 0x4180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14005d130
xor edx, edx
mov rcx, rax
call fcn.140001320
mov rcx, rax
jmp 0x14005d133
mov rcx, r14
mov rax, qword [0x140110630]
test rax, rax
cmove rax, rcx
mov qword [0x140110630], rax
call fcn.1400085c0
mov r13, qword [0x140110630]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.14002c6b0
mov rcx, rsi
call fcn.140036c90
mov rdi, qword [0x140110668]
mov rbx, qword [0x140110630]
test rbx, rbx
je 0x14005d184
inc dword [rbx + 0x3ac]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005d1b3
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14005d1b6
mov rax, r14
mov qword [rbx + 0xf8], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14005d234
mov rax, qword [0x140110630]
lea rcx, [fcn.140036930]
mov qword [rax + 0x1608], rcx
lea rcx, [fcn.140036a10]
mov qword [rax + 0x1610], rcx
lea rcx, [0x140036a90]
mov qword [rax + 0x1618], rcx
lea rcx, [0x140036b00]
mov qword [rax + 0x1620], rcx
lea rcx, [0x140036c60]
mov qword [rax + 0x1628], rcx
mov rdi, qword [r13 + 0xa8]
mov qword [rbp + 0x70], r14
lea r8, [rbp + 0x70]
lea rsi, str.C:WindowsFontsVerdana.ttf
mov rcx, rsi
call fcn.140002a10
mov rbx, rax
movss xmm10, dword [0x1400fc358]
test rax, rax
je 0x14005d3f9
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r12d
movss xmm0, dword [0x1400fc474]
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm4, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x80], xmm4
movaps xmm5, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x90], xmm5
movaps xmmword [rbp + 0xa0], xmm2
xorps xmm6, xmm6
movaps xmmword [rbp + 0xb0], xmm6
xorps xmm1, xmm1
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm0
shufps xmm1, xmm1, 0xe1
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp + 0xc0], xmm1
movaps xmm3, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xd0], xmm3
xorps xmm7, xmm7
movaps xmmword [rbp + 0xe0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xf0], xmm8
movsd xmm9, qword [rbp]
movsd qword [rbp + 0x100], xmm9
movdqa xmm0, xmm3
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14005d3af
lea r9, [0x1400fa7c4]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14005d347
cmp al, 0x5c
je 0x14005d347
mov r9, rcx
cmp rcx, rsi
ja 0x14005d330
movsd xmm0, qword [0x1400fc3a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xd6]
call fcn.1400027b0
movsd xmm9, qword [rbp + 0x100]
movaps xmm8, xmmword [rbp + 0xf0]
movaps xmm7, xmmword [rbp + 0xe0]
movaps xmm3, xmmword [rbp + 0xd0]
movaps xmm1, xmmword [rbp + 0xc0]
movaps xmm6, xmmword [rbp + 0xb0]
movaps xmm2, xmmword [rbp + 0xa0]
movaps xmm5, xmmword [rbp + 0x90]
movaps xmm4, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm5
movaps xmmword [rbp - 0x60], xmm2
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm3
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm8
movsd qword [rbp], xmm9
mov qword [rbp - 0x80], rbx
mov eax, dword [rbp + 0x70]
mov dword [rbp - 0x78], eax
movss xmm0, dword [0x1400fc3dc]
movss dword [rbp - 0x6c], xmm0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140030b20
xor r15b, r15b
nop dword [rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005d470
nop
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r15d, r15b
cmp dword [rbp + 0x118], 0x12
cmove r15d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14005d420
test r15b, r15b
jne 0x14005d779
mov rbx, qword [0x140110630]
test rbx, rbx
je 0x14005d485
mov rax, qword [rbx + 0xf8]
jmp 0x14005d488
mov rax, r14
cmp qword [rax + 0x18], 0
jne 0x14005d49b
call fcn.140036790
mov rbx, qword [0x140110630]
test rbx, rbx
je 0x14005d4a9
mov rdi, qword [rbx + 0xf0]
jmp 0x14005d4ac
mov rdi, r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x18]
sub eax, dword [rbp + 0x10]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 0x1c]
sub eax, dword [rbp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x14005d4f0
call fcn.140037930
mov qword [rbp + 0x70], r14
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.140037270
cmp byte [rbx + 0xd0], 0
je 0x14005d53c
mov eax, 0xffffffff
jmp 0x14005d549
mov rax, qword [0x140110630]
mov eax, dword [rax + 0x2128]
cmp dword [rdi + 0x28], eax
je 0x14005d556
mov dword [rdi + 0x28], eax
call fcn.1400370f0
call fcn.140037530
call fcn.1400070d0
call fcn.14004b5d0
call fcn.140009ad0
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm10
mov dword [rsp + 0x20], r14d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005d62b
call fcn.140009fe0
mov rax, qword [0x140110630]
mov rcx, qword [rax + 0x1f40]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r14
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140035f80
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14005d713
call fcn.14001a7f0
mov rbx, qword [0x140110630]
mov r14d, r12d
mov eax, dword [rbx + 0x1640]
cmp eax, 1
jle 0x14005d6ac
mov esi, 8
nop dword [rax + rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005d69a
mov rax, qword [rbx + 0x15d8]
test rax, rax
je 0x14005d687
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1620]
test rax, rax
je 0x14005d69a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x1640]
cmp r14d, eax
jl 0x14005d660
mov r14d, 1
cmp eax, r14d
jle 0x14005d70a
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005d6fa
mov rax, qword [rbx + 0x15e0]
test rax, rax
je 0x14005d6e7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1628]
test rax, rax
je 0x14005d6fa
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1640]
jl 0x14005d6c0
mov r12d, 1
xor r14d, r14d
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14005d400
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14005d400
call fcn.140036840
mov rcx, qword [0x140110668]
mov rax, qword [rcx]
lea rdx, [0x140110670]
call qword [rax + 0x80]
call fcn.140036790
jmp 0x14005d400
mov rbx, qword [0x140110630]
test rbx, rbx
je 0x14005d78e
mov rdi, qword [rbx + 0xf8]
jmp 0x14005d791
mov rdi, r14
call fcn.14001adf0
call fcn.140036840
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005d7a9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xf8], r14
mov rax, qword [0x140110630]
test rax, rax
je 0x14005d7c9
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140110630]
test rbx, rbx
je 0x14005d7e7
mov rdi, qword [rbx + 0xf0]
jmp 0x14005d7ea
mov rdi, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.14001adf0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14005d816
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0xe0], r14
mov qword [rbx + 0xf0], r14
mov rax, qword [0x140110630]
test rax, rax
je 0x14005d836
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140110630]
mov rcx, rbx
call fcn.140008920
mov rax, qword [0x140110630]
cmp rax, rbx
cmove rax, r14
mov qword [0x140110630], rax
test rbx, rbx
je 0x14005d88b
mov rcx, rbx
call fcn.140025010
mov rax, qword [0x140110630]
test rax, rax
je 0x14005d882
dec dword [rax + 0x3ac]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140110668]
test rcx, rcx
je 0x14005d8a4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140110668], r14
mov rcx, qword [0x140110660]
test rcx, rcx
je 0x14005d8bd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140110660], r14
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400c3540
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [0x140110660]
mov rdx, qword [0x140110668]
test rdx, rdx
je 0x14005d94a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140110668], r14
mov rcx, qword [0x140110660]
test rcx, rcx
je 0x14005d95c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140110660], r14
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r12d
jmp 0x14005d8d7
mov dword [rbp + 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3