Function at 0x140055c40
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14015a060]
xor rax, rsp
mov qword [rbp + 0x128], rax
lea rax, [0x140056c20]
mov dword [rbp + 0xa0], 0x50
xor r15d, r15d
mov qword [rbp + 0xa8], rax
mov edx, 0x7f00
mov qword [rbp + 0xb0], r15
xor ecx, ecx
mov qword [rbp + 0xb8], r15
mov dword [rbp + 0xa4], 0x40
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0xc0], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r14, [0x140142a04]
mov qword [rbp + 0xd0], r15
mov edx, 0x7f00
mov qword [rbp + 0xc8], rax
xor ecx, ecx
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xe0], r14
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0xe8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x1401b2ad4]
mov r12d, 1
mov ecx, r12d
cvttss2si esi, dword [0x1401b2ad0]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x1401b2ad4]
xor ecx, ecx
mulss xmm0, dword [0x140142a68]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si ebx, xmm1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x1401b2ad0]
mov r9d, 0x80000000
mulss xmm0, dword [0x140142a68]
cdq
mov qword [rsp + 0x58], r15
sub eax, edx
mov rdx, qword [rbp + 0xe0]
mov r8, r14
mov qword [rsp + 0x50], r15
xor ecx, ecx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
sar eax, 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x1401b2b28], rax
lea edx, [r15 - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov rcx, qword [0x1401b2b28]
lea edx, [r15 - 0x14]
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1401b2b28]
lea r9d, [r15 + 2]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140142bd0]
lea rdx, [rbp + 0x100]
mov rcx, qword [0x1401b2b28]
movdqu xmmword [rbp + 0x100], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1401b2b28]
lea rdx, [0x1401b2b30]
xorps xmm0, xmm0
movaps xmmword [0x1401b2b30], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [0x1401b2b28]
lea rcx, [rbp + 0x110]
mov qword [rbp + 0x40], rax
xor r9d, r9d
lea rax, [0x1401b3d28]
mov qword [rbp + 0x24], r15
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rbp - 0x10]
mov qword [rbp + 0x38], 2
mov qword [rsp + 0x50], rax
mov edx, r12d
lea rax, [0x1401b3d30]
mov qword [rbp + 0x50], 2
mov qword [rsp + 0x48], rax
lea rax, [0x1401b3d38]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x20], Ordinal_32
mov dword [rbp + 0x18], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp + 0x1c], r12d
mov dword [rbp + 0x34], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp + 0x2c], r12
mov qword [rbp + 0x48], r12
mov dword [rbp + 0x110], 0xb000
mov dword [rbp + 0x114], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140055f52
call fcn.140056b30
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r12d
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14010cf30
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
movaps xmmword [rsp + 0x270], xmm7
movaps xmmword [rsp + 0x260], xmm8
movaps xmmword [rsp + 0x250], xmm9
movaps xmmword [rsp + 0x240], xmm10
movaps xmmword [rsp + 0x230], xmm11
call fcn.140056bb0
mov rcx, qword [0x1401b2b28]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401b2b28]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1401b3d08]
test rbx, rbx
je 0x140055fb4
inc dword [rbx + 0xf0]
mov rdx, qword [0x1401b3cf8]
mov ecx, 0x5e78
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x140055fd6
xor edx, edx
mov rcx, rax
call fcn.14001e5d0
jmp 0x140055fd9
mov rax, r15
mov qword [0x1401b3d08], rax
call fcn.140021c10
mov rax, qword [0x1401b3d08]
test rbx, rbx
cmovne rax, rbx
xor ecx, ecx
mov qword [0x1401b3d08], rax
call fcn.14003e700
mov rax, qword [0x1401b3d08]
mov dword [rax + 0x37d8], 0x40c00000
mov qword [rax + 0x37d0], r15
mov dword [rax + 0x3804], 0x41000000
mov dword [rax + 0x3808], 0x41000000
mov dword [rax + 0x37dc], 0x3f800000
mov dword [rax + 0x37c8], 0x3f8ccccd
movaps xmm0, xmmword [0x1401b3e20]
movups xmmword [rax + 0x38c4], xmm0
movaps xmm1, xmmword [0x1401b3e30]
movups xmmword [rax + 0x38d4], xmm1
movaps xmm0, xmmword [0x1401b3e00]
movups xmmword [rax + 0x38f4], xmm0
cmp qword [0x1401b2ad8], r15
jne 0x1400560b2
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2ad8]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x14018cc50]
mov rax, qword [0x1401b3d20]
mov r8d, 0xa4c
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2ae0], r15
jne 0x1400560f9
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2ae0]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x14015a0b0]
mov rax, qword [0x1401b3d20]
mov r8d, 0x18b6
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2ae8], r15
jne 0x140056140
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2ae8]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401b28b0]
mov rax, qword [0x1401b3d20]
mov r8d, 0x15c
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2b00], r15
jne 0x140056187
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2b00]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401b1400]
mov rax, qword [0x1401b3d20]
mov r8d, 0x14ad
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2b08], r15
jne 0x1400561ce
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2b08]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x14015ba40]
mov rax, qword [0x1401b3d20]
mov r8d, 0xbe2
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2b10], r15
jne 0x140056215
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2b10]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, str.RIFFJ
mov rax, qword [0x1401b3d20]
mov r8d, 0x23d52
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2af0], r15
jne 0x14005625c
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2af0]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x14015b970]
mov rax, qword [0x1401b3d20]
mov r8d, 0xc2
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1401b2af8], r15
jne 0x1400562a3
mov rcx, qword [0x1401b3d30]
lea rax, [0x1401b2af8]
mov qword [rsp + 0x30], r15
lea r9, [0x1401b2a98]
mov qword [rsp + 0x28], rax
lea rdx, [0x14015c630]
mov rax, qword [0x1401b3d20]
mov r8d, reloc.WLDAP32.dll_Ordinal_200
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rbx, qword [0x1401b3d08]
lea rsi, [0x14015c700]
movss xmm0, dword [0x140142ba8]
lea rdi, [0x1401422a0]
movss xmm1, dword [0x140142aac]
lea rdx, [rsp + 0x60]
xorps xmm11, xmm11
xor eax, eax
mov rcx, qword [rbx + 0x38]
movups xmmword [rbp + 0x50], xmm11
mov qword [rbp + 0x90], rax
mov eax, 0xffff
movsd xmm6, qword [rbp + 0x90]
movups xmmword [rbp + 0x60], xmm11
mov word [rbp + 0x64], ax
movaps xmm7, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x20], xmm11
mov dword [rbp + 0x5c], 0x10c
movaps xmm8, xmmword [rbp + 0x50]
movss xmm7, xmm1
shufps xmm8, xmm8, 0xe1
movss xmm8, xmm0
movaps xmmword [rbp - 0x70], xmm11
movss xmm0, dword [0x140142b14]
movups xmmword [rbp + 0x10], xmm11
mov dword [rbp + 0x28], 2
shufps xmm8, xmm8, 0xe1
mov dword [rbp + 0x2c], r12d
movaps xmm9, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x70], xmm9
mov byte [rbp + 0x1c], r15b
movaps xmm10, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rbp + 0x50], xmm8
movaps xmmword [rbp - 0x60], xmm8
movss dword [rsp + 0x74], xmm0
mov qword [rbx + 0x20], r15
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm11
movsd qword [rbp - 0x20], xmm6
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3054c
mov qword [rbp - 0x68], rdi
call fcn.140042f00
movss xmm0, dword [0x140142b0c]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x1401b2b40], rax
mov rcx, qword [rbx + 0x38]
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x70], xmm11
movss dword [rsp + 0x74], xmm0
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp - 0x60], xmm8
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm11
movsd qword [rbp - 0x20], xmm6
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3054c
mov qword [rbp - 0x68], rdi
call fcn.140042f00
movss xmm0, dword [0x140142b08]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x70], xmm11
movss dword [rsp + 0x74], xmm0
mov qword [0x1401b2b48], rax
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp - 0x60], xmm8
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm11
movsd qword [rbp - 0x20], xmm6
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3054c
mov qword [rbp - 0x68], rdi
mov rcx, qword [rbx + 0x38]
call fcn.140042f00
movss xmm0, dword [0x140142b00]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x1401b2b50], rax
mov rcx, qword [rbx + 0x38]
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x70], xmm11
movss dword [rsp + 0x74], xmm0
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp - 0x60], xmm8
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm11
movsd qword [rbp - 0x20], xmm6
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3054c
mov qword [rbp - 0x68], rdi
call fcn.140042f00
movss xmm0, dword [0x140142af4]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x1401b2b58], rax
mov rcx, qword [rbx + 0x38]
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x70], xmm11
movss dword [rsp + 0x74], xmm0
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp - 0x60], xmm8
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm11
movsd qword [rbp - 0x20], xmm6
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x3054c
mov qword [rbp - 0x68], rdi
call fcn.140042f00
mov rcx, qword [0x1401b2b28]
mov qword [0x1401b2b60], rax
call fcn.1400483e0
mov rdi, qword [0x1401b3d08]
mov r14, qword [0x1401b3d28]
mov rsi, qword [0x1401b3d30]
movaps xmm11, xmmword [rsp + 0x230]
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm9, xmmword [rsp + 0x250]
movaps xmm8, xmmword [rsp + 0x260]
movaps xmm7, xmmword [rsp + 0x270]
test rdi, rdi
je 0x140056585
inc dword [rdi + 0xf0]
mov rdx, qword [0x1401b3cf8]
mov ecx, 0x78
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
test rax, rax
je 0x1400565cc
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 0x1400565cf
mov rbx, r15
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
lea r8, [rbp - 0x10]
mov qword [rdi + 0x98], rbx
lea rdx, [0x140142788]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rbp - 0x10], r15
mov qword [rbp + 0x110], r15
mov qword [rbp + 0xf0], r15
call qword [rax]
test eax, eax
jne 0x14005665e
mov rcx, qword [rbp - 0x10]
lea r8, [rbp + 0x110]
lea rdx, [0x140142798]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14005665e
mov rcx, qword [rbp + 0x110]
lea r8, [rbp + 0xf0]
lea rdx, [0x1401427a8]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14005665e
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0xf0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14005666d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x14005667f
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 ecx, 8
call fcn.14010d1f0
lea rcx, [0x140055860]
mov r9, rax
lea r8, [0x140019d20]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140056b19
cmp dword [rbp + 8], r15d
jne 0x1400566e5
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp]
lea rcx, [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14005670b
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov rcx, qword [0x1401b2b28]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
cmp byte [0x1401b2b18], r15b
jne 0x1400569d4
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140056794
nop dword [rax + rax]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx eax, byte [0x1401b2b18]
lea rcx, [rbp + 0x10]
cmp dword [rbp + 0x18], 0x12
mov dword [rsp + 0x20], r12d
cmove eax, r12d
xor r9d, r9d
xor r8d, r8d
mov byte [0x1401b2b18], al
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140056750
cmp byte [0x1401b2b18], r15b
jne 0x1400569d4
mov rbx, qword [0x1401b3d08]
test rbx, rbx
je 0x1400567b6
mov rax, qword [rbx + 0x98]
jmp 0x1400567b9
mov rax, r15
cmp qword [rax + 0x48], r15
jne 0x1400567cb
call fcn.140047d80
mov rbx, qword [0x1401b3d08]
test rbx, rbx
je 0x1400567d9
mov rdi, qword [rbx + 0x90]
jmp 0x1400567dc
mov rdi, r15
xorps xmm0, xmm0
lea rdx, [rbp]
movdqu xmmword [rbp], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 8]
lea rcx, [rbp + 0xf0]
sub eax, dword [rbp]
mov qword [rbp + 0xf0], r15
movd xmm1, eax
mov eax, dword [rbp + 0xc]
sub eax, dword [rbp + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0xf0]
xorps xmm1, xmm1
mov rsi, qword [0x1401b3d08]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
test rsi, rsi
je 0x14005686a
mov r14, qword [rsi + 0x90]
jmp 0x14005686d
mov r14, r15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x14005690b
cmp byte [rsi + 0xd5], r15b
je 0x1400568c1
cvttss2si eax, dword [rsi + 0xe00]
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x10], eax
cvttss2si eax, dword [rsi + 0xe04]
mov dword [rbp - 0xc], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1400568b8
mov edx, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x10]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xd5], r15b
jne 0x14005690b
cmp dword [r14 + 0x10], r15d
jne 0x14005690b
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14005690b
mov rcx, qword [r14]
lea rdx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14005690b
movd xmm2, dword [rbp + 0x114]
lea rcx, [rsi + 8]
movd xmm1, dword [rbp + 0x110]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.14001fc60
call fcn.140048700
cmp byte [rbx + 0x58], r15b
je 0x14005691d
mov eax, 0xffffffff
jmp 0x14005692a
mov rax, qword [0x1401b3d08]
mov eax, dword [rax + 0x4c18]
cmp dword [rdi + 0x28], eax
je 0x140056937
mov dword [rdi + 0x28], eax
call fcn.140048590
call fcn.1400488d0
call fcn.140024400
call fcn.14000beb0
call fcn.1400264c0
mov rcx, qword [0x1401b3d28]
lea r8, [0x1401b3d40]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x118], xmm0
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1401b3d28]
lea r8, [rbp + 0x118]
mov rdx, qword [0x1401b3d40]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1401b3d08]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.140047320
mov rcx, qword [0x1401b3d38]
xor r8d, r8d
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x1401b2b18], r15b
je 0x140056730
mov rbx, qword [0x1401b3d08]
test rbx, rbx
je 0x1400569e9
mov rdi, qword [rbx + 0x98]
jmp 0x1400569ec
mov rdi, r15
call fcn.1400482c0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140056a00
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140056a0e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140056a1d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1401b3d08]
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x98], r15
test rax, rax
je 0x140056a41
dec dword [rax + 0xf0]
mov rdx, qword [0x1401b3cf8]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x1401b3d08]
test rax, rax
je 0x140056a65
mov rdi, qword [rax + 0x90]
jmp 0x140056a68
mov rdi, r15
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140056a82
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401b3d08]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
test rax, rax
je 0x140056a9c
dec dword [rax + 0xf0]
mov rdx, qword [0x1401b3cf8]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x1401b3d08]
call fcn.140021fd0
mov qword [0x1401b3d08], r15
test rbx, rbx
je 0x140056aec
mov rcx, rbx
call fcn.140037420
mov rax, qword [0x1401b3d08]
test rax, rax
je 0x140056add
dec dword [rax + 0xf0]
mov rdx, qword [0x1401b3cf8]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
call fcn.140056b30
mov rcx, qword [0x1401b2b28]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x140055f1d
mov ecx, 6
mov dword [rbp + 8], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3