Function at 0x140055080
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 - 0x1b8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140159060]
xor rax, rsp
mov qword [rbp + 0x130], rax
lea rax, [0x1400560b0]
mov dword [rbp + 0xb0], 0x50
xor r15d, r15d
mov qword [rbp + 0xb8], rax
mov edx, 0x7f00
mov qword [rbp + 0xc0], r15
xor ecx, ecx
mov qword [rbp + 0xc8], r15
mov dword [rbp + 0xb4], 0x40
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0xd0], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r14, [0x1401419f4]
mov qword [rbp + 0xe0], r15
mov edx, 0x7f00
mov qword [rbp + 0xd8], rax
xor ecx, ecx
mov qword [rbp + 0xe8], r14
mov qword [rbp + 0xf0], r14
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x140601eb4]
mov r12d, 1
mov ecx, r12d
cvttss2si esi, dword [0x140601eb0]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x140601eb4]
xor ecx, ecx
mulss xmm0, dword [0x140141a58]
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 [0x140601eb0]
mov r9d, 0x80000000
mulss xmm0, dword [0x140141a58]
cdq
mov qword [rsp + 0x58], r15
sub eax, edx
mov rdx, qword [rbp + 0xf0]
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 [0x140601f08], rax
lea edx, [r15 - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov rcx, qword [0x140601f08]
lea edx, [r15 - 0x14]
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140601f08]
lea r9d, [r15 + 2]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140141bc0]
lea rdx, [rbp + 0x108]
mov rcx, qword [0x140601f08]
movdqu xmmword [rbp + 0x108], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140601f08]
lea rdx, [0x140601f10]
xorps xmm0, xmm0
movaps xmmword [0x140601f10], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [0x140601f08]
lea rcx, [rbp + 0x118]
mov qword [rbp + 0x50], rax
xor r9d, r9d
lea rax, [0x140603108]
mov qword [rbp + 0x34], r15
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rbp]
mov qword [rbp + 0x48], 2
mov qword [rsp + 0x50], rax
mov edx, r12d
lea rax, [0x140603110]
mov qword [rbp + 0x60], 2
mov qword [rsp + 0x48], rax
lea rax, [0x140603118]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
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 + 0x20], r15
mov dword [rbp + 0x30], Ordinal_32
mov dword [rbp + 0x28], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp + 0x2c], r12d
mov dword [rbp + 0x44], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp + 0x3c], r12
mov qword [rbp + 0x58], r12
mov dword [rbp + 0x118], 0xb000
mov dword [rbp + 0x11c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140055362
call fcn.140055fc0
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r12d
jmp 0x140055f73
movaps xmmword [rsp + 0x280], xmm7
movaps xmmword [rsp + 0x270], xmm8
movaps xmmword [rsp + 0x260], xmm9
movaps xmmword [rsp + 0x250], xmm10
movaps xmmword [rsp + 0x240], xmm11
call fcn.140056040
mov rcx, qword [0x140601f08]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140601f08]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1406030e8]
test rbx, rbx
je 0x1400553c4
inc dword [rbx + 0xf0]
mov rdx, qword [0x1406030d8]
mov ecx, 0x5e78
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x1400553e6
xor edx, edx
mov rcx, rax
call fcn.14001da10
jmp 0x1400553e9
mov rax, r15
mov qword [0x1406030e8], rax
call fcn.140021050
mov rax, qword [0x1406030e8]
test rbx, rbx
cmovne rax, rbx
xor ecx, ecx
mov qword [0x1406030e8], rax
call fcn.14003db40
mov rax, qword [0x1406030e8]
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 [0x140603210]
movups xmmword [rax + 0x38c4], xmm0
movaps xmm1, xmmword [0x140603220]
movups xmmword [rax + 0x38d4], xmm1
movaps xmm0, xmmword [0x1406031f0]
movups xmmword [rax + 0x38f4], xmm0
cmp qword [0x140601eb8], r15
jne 0x1400554c2
mov rcx, qword [0x140603110]
lea rax, [0x140601eb8]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1405dc030]
mov rax, qword [0x140603100]
mov r8d, 0xa4c
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ec0], r15
jne 0x140055509
mov rcx, qword [0x140603110]
lea rax, [0x140601ec0]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1405a9490]
mov rax, qword [0x140603100]
mov r8d, 0x18b6
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ec8], r15
jne 0x140055550
mov rcx, qword [0x140603110]
lea rax, [0x140601ec8]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x140601c90]
mov rax, qword [0x140603100]
mov r8d, 0x15c
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ee0], r15
jne 0x140055597
mov rcx, qword [0x140603110]
lea rax, [0x140601ee0]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1406007e0]
mov rax, qword [0x140603100]
mov r8d, 0x14ad
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ee8], r15
jne 0x1400555de
mov rcx, qword [0x140603110]
lea rax, [0x140601ee8]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1405aae20]
mov rax, qword [0x140603100]
mov r8d, 0xbe2
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ef0], r15
jne 0x140055625
mov rcx, qword [0x140603110]
lea rax, [0x140601ef0]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, str.RIFFJ
mov rax, qword [0x140603100]
mov r8d, 0x23d52
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ed0], r15
jne 0x14005566c
mov rcx, qword [0x140603110]
lea rax, [0x140601ed0]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1405aad50]
mov rax, qword [0x140603100]
mov r8d, 0xc2
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x140601ed8], r15
jne 0x1400556b3
mov rcx, qword [0x140603110]
lea rax, [0x140601ed8]
mov qword [rsp + 0x30], r15
lea r9, [0x140601e78]
mov qword [rsp + 0x28], rax
lea rdx, [0x1405aba10]
mov rax, qword [0x140603100]
mov r8d, reloc.WLDAP32.dll_Ordinal_200
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rbx, qword [0x1406030e8]
lea rsi, [0x1405abae0]
movss xmm0, dword [0x140141b98]
lea rdi, [0x140141290]
movss xmm1, dword [0x140141a9c]
lea rdx, [rsp + 0x60]
xorps xmm11, xmm11
xor eax, eax
mov rcx, qword [rbx + 0x38]
movups xmmword [rbp + 0x60], xmm11
mov qword [rbp + 0xa0], rax
mov eax, 0xffff
movsd xmm6, qword [rbp + 0xa0]
movups xmmword [rbp + 0x70], xmm11
mov word [rbp + 0x74], ax
movaps xmm7, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x30], xmm11
mov dword [rbp + 0x6c], 0x10c
movaps xmm8, xmmword [rbp + 0x60]
movss xmm7, xmm1
shufps xmm8, xmm8, 0xe1
movss xmm8, xmm0
movaps xmmword [rbp - 0x70], xmm11
movss xmm0, dword [0x140141b04]
movups xmmword [rbp + 0x20], xmm11
mov dword [rbp + 0x38], 2
shufps xmm8, xmm8, 0xe1
mov dword [rbp + 0x3c], r12d
movaps xmm9, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x70], xmm9
mov byte [rbp + 0x2c], r15b
movaps xmm10, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp - 0x60], xmm8
movss dword [rsp + 0x74], xmm0
mov qword [rbx + 0x20], r15
movaps xmmword [rbp - 0x80], xmm11
movaps xmmword [rbp + 0x70], 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.140042340
movss xmm0, dword [0x140141afc]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x140601f20], 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.140042340
movss xmm0, dword [0x140141af8]
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 [0x140601f28], 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.140042340
movss xmm0, dword [0x140141af0]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x140601f30], 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.140042340
movss xmm0, dword [0x140141ae4]
lea rdx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm10
mov qword [0x140601f38], 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.140042340
mov rcx, qword [0x140601f08]
mov qword [0x140601f40], rax
call fcn.140047820
mov rdi, qword [0x1406030e8]
mov r14, qword [0x140603108]
mov rsi, qword [0x140603110]
movaps xmm11, xmmword [rsp + 0x240]
movaps xmm10, xmmword [rsp + 0x250]
movaps xmm9, xmmword [rsp + 0x260]
movaps xmm8, xmmword [rsp + 0x270]
test rdi, rdi
je 0x14005598d
inc dword [rdi + 0xf0]
mov rdx, qword [0x1406030d8]
mov ecx, 0x78
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
test rax, rax
je 0x1400559d4
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 0x1400559d7
mov rbx, r15
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
lea r8, [rbp]
mov qword [rdi + 0x98], rbx
lea rdx, [0x140141778]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rbp], r15
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x100], r15
call qword [rax]
test eax, eax
jne 0x140055a66
mov rcx, qword [rbp]
lea r8, [rbp + 0x118]
lea rdx, [0x140141788]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140055a66
mov rcx, qword [rbp + 0x118]
lea r8, [rbp + 0x100]
lea rdx, [0x140141798]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140055a66
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x100]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x140055a75
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140055a87
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.14010c940
lea rcx, [0x140054ca0]
mov r9, rax
lea r8, [0x140019160]
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 - 0x10], rax
test rax, rax
je 0x140055fa8
cmp dword [rbp - 8], r15d
jne 0x140055aed
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140055b0d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
cmp byte [0x140601ef8], r15b
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
jne 0x140055e2b
movss xmm6, dword [0x140141ae8]
movss xmm7, dword [0x140141b74]
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0x20]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140055ba4
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx eax, byte [0x140601ef8]
lea rcx, [rbp + 0x20]
cmp dword [rbp + 0x28], 0x12
mov dword [rsp + 0x20], r12d
cmove eax, r12d
xor r9d, r9d
xor r8d, r8d
mov byte [0x140601ef8], al
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140055b60
cmp byte [0x140601ef8], r15b
jne 0x140055e2b
mov rbx, qword [0x1406030e8]
test rbx, rbx
je 0x140055bc6
mov rax, qword [rbx + 0x98]
jmp 0x140055bc9
mov rax, r15
cmp qword [rax + 0x48], r15
jne 0x140055bdb
call fcn.1400471c0
mov rbx, qword [0x1406030e8]
test rbx, rbx
je 0x140055be9
mov rdi, qword [rbx + 0x90]
jmp 0x140055bec
mov rdi, r15
xorps xmm0, xmm0
lea rdx, [rbp + 0x10]
movdqu xmmword [rbp + 0x10], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x18]
lea rcx, [rbp + 0x100]
sub eax, dword [rbp + 0x10]
mov qword [rbp + 0x100], r15
movd xmm1, eax
mov eax, dword [rbp + 0x1c]
sub eax, dword [rbp + 0x14]
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 + 0x100]
xorps xmm1, xmm1
mov rsi, qword [0x1406030e8]
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 0x140055c7a
mov r14, qword [rsi + 0x90]
jmp 0x140055c7d
mov r14, r15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x140055d1b
cmp byte [rsi + 0xd5], r15b
je 0x140055cd1
cvttss2si eax, dword [rsi + 0xe00]
lea rdx, [rbp]
mov dword [rbp], eax
cvttss2si eax, dword [rsi + 0xe04]
mov dword [rbp + 4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140055cc8
mov edx, dword [rbp + 4]
mov ecx, dword [rbp]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xd5], r15b
jne 0x140055d1b
cmp dword [r14 + 0x10], r15d
jne 0x140055d1b
lea rcx, [rbp + 0x118]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140055d1b
mov rcx, qword [r14]
lea rdx, [rbp + 0x118]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140055d1b
movd xmm2, dword [rbp + 0x11c]
lea rcx, [rsi + 8]
movd xmm1, dword [rbp + 0x118]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.14001f0a0
call fcn.140047b40
cmp byte [rbx + 0x58], r15b
je 0x140055d2d
mov eax, 0xffffffff
jmp 0x140055d3a
mov rax, qword [0x1406030e8]
mov eax, dword [rax + 0x4c18]
cmp dword [rdi + 0x28], eax
je 0x140055d47
mov dword [rdi + 0x28], eax
call fcn.1400479d0
call fcn.140047d10
movss xmm1, dword [0x1406031b0]
movaps xmm0, xmm7
mov rax, qword [0x1406030e8]
subss xmm0, xmm1
mov rcx, qword [0x140601f08]
xor edx, edx
movss xmm2, dword [rax + 0x18]
mulss xmm2, xmm6
lea r9d, [rdx + 2]
mulss xmm2, xmm0
addss xmm1, xmm2
cvttss2si r8d, xmm1
movss dword [0x1406031b0], xmm1
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call fcn.140023840
call fcn.14000b5b0
call fcn.140025900
mov rcx, qword [0x140603108]
lea r8, [0x140603120]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x120], xmm0
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x140603108]
lea r8, [rbp + 0x120]
mov rdx, qword [0x140603120]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1406030e8]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.140046760
mov rcx, qword [0x140603118]
xor r8d, r8d
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x140601ef8], r15b
je 0x140055b40
mov rbx, qword [0x1406030e8]
test rbx, rbx
je 0x140055e40
mov rdi, qword [rbx + 0x98]
jmp 0x140055e43
mov rdi, r15
call fcn.140047700
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140055e57
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140055e65
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140055e74
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1406030e8]
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x98], r15
test rax, rax
je 0x140055e98
dec dword [rax + 0xf0]
mov rdx, qword [0x1406030d8]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x1406030e8]
test rax, rax
je 0x140055ebc
mov rdi, qword [rax + 0x90]
jmp 0x140055ebf
mov rdi, r15
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140055ed9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1406030e8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
test rax, rax
je 0x140055ef3
dec dword [rax + 0xf0]
mov rdx, qword [0x1406030d8]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x1406030e8]
call fcn.140021410
mov qword [0x1406030e8], r15
test rbx, rbx
je 0x140055f43
mov rcx, rbx
call fcn.140036860
mov rax, qword [0x1406030e8]
test rax, rax
je 0x140055f34
dec dword [rax + 0xf0]
mov rdx, qword [0x1406030d8]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
call fcn.140055fc0
mov rcx, qword [0x140601f08]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movaps xmm7, xmmword [rsp + 0x280]
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14010c680
lea r11, [rsp + 0x2a0]
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
mov ecx, 6
mov dword [rbp - 8], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3