Function at 0x180031e24
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1801ee5c0]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, r9
mov rbx, rdx
movq xmm6, r8
mov qword [rbp - 0x39], r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
xor r15d, r15d
lea edi, [r15 + 0x12]
movss xmm7, dword [0x1801d4648]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180031eb7
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x180032018
mov rax, qword [0x180217b90]
test rax, rax
je 0x180031ecc
mov rcx, qword [rax + 0x98]
jmp 0x180031ecf
mov rcx, r15
cmp qword [rcx + 0x18], r15
jne 0x180031ef0
test rax, rax
je 0x180031ef0
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x180031ef0
cmp qword [rcx], r15
je 0x180031ef0
call fcn.180022460
call fcn.180022ffc
call fcn.180004914
movsd qword [rbp - 0x31], xmm6
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1800321a5
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
mov rdx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
call fcn.180006d6c
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], r15d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov eax, dword [rbp - 0x21]
cmp byte [rbx + 0xa8], r15b
cmove eax, edi
mov dword [rbp - 0x21], eax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x180031f9d
call fcn.180007078
mov rax, qword [0x180217b90]
mov rax, qword [rax + 0x4030]
mov rdx, qword [rax]
add rdx, 0x48
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
call fcn.180021f28
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x180032007
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x180032007
call fcn.1800226e0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
lea rdx, [rbx + 0x18]
call qword [rax + 0x80]
mov rax, qword [0x180217b90]
test rax, rax
je 0x180032007
mov rax, qword [rax + 0x98]
test rax, rax
je 0x180032007
cmp qword [rax], r15
je 0x180032007
call fcn.180022460
mov qword [rbp - 0x31], 5
lea rcx, [rbp - 0x31]
call fcn.180033abc
cmp dword [rbp - 0x21], edi
jne 0x180031e80
mov rdi, qword [0x180217b90]
test rdi, rdi
je 0x180032036
mov r14, qword [rdi + 0x98]
jmp 0x180032039
mov r14, r15
call fcn.1800226e0
mov rcx, qword [r14]
test rcx, rcx
je 0x18003204c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x88], r15
mov qword [rdi + 0x98], r15
mov rax, qword [0x180217b90]
test rax, rax
je 0x18003206c
dec dword [rax + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180217b90]
test rax, rax
je 0x18003208a
mov rdi, qword [rax + 0x90]
jmp 0x18003208d
mov rdi, r15
lea r14, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1800320a7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x180217b90]
mov qword [r14 + 0x78], r15
mov qword [r14 + 0x88], r15
test rax, rax
je 0x1800320bd
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x180217b90]
mov rcx, rdi
call fcn.180005d4c
cmp qword [0x180217b90], rdi
jne 0x1800320e5
mov qword [0x180217b90], r15
test rdi, rdi
je 0x18003210d
mov rcx, rdi
call fcn.1800131c0
mov rax, qword [0x180217b90]
test rax, rax
je 0x180032104
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180032120
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180032133
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.USER32.dll_UnregisterClassA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x180032178
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.18013d070
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
call fcn.18001a010
mov rax, qword gs:[0x58]
mov ecx, dword [0x180217aec]
mov edi, 4
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rdi]
cmp dword [0x180218338], eax
jle 0x180032213
lea rcx, [0x180218338]
call fcn.18013d244
cmp dword [0x180218338], 0xffffffff
jne 0x180032213
mov rax, qword [0x180217b90]
lea rcx, [0x180218338]
add rax, 8
mov qword [0x180218340], rax
call fcn.18013d1d8
mov eax, dword [rbx + rdi]
cmp dword [0x180218348], eax
jle 0x180032253
lea rcx, [0x180218348]
call fcn.18013d244
cmp dword [0x180218348], 0xffffffff
jne 0x180032253
mov rax, qword [0x180217b90]
lea rcx, [0x180218348]
add rax, 0x3778
mov qword [0x180218350], rax
call fcn.18013d1d8
mov rax, qword [0x180218340]
lea rdx, [0x180218130]
cmp qword [0x180218148], 0xf
movss xmm2, dword [0x1801d469c]
cmova rdx, qword [0x180218130]
xor ebx, ebx
mov rcx, qword [rax + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call fcn.18001e49c
cmp qword [0x180218168], 0xf
lea rdx, [0x180218150]
movss xmm2, dword [0x1801d46a8]
cmova rdx, qword [0x180218150]
xor r9d, r9d
mov qword [0x180218358], rax
mov rax, qword [0x180218340]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 0x48]
call fcn.18001e49c
mov rax, qword [0x180218340]
movdqa xmm0, xmmword [0x1801d4a00]
movdqa xmm2, xmmword [0x1801d4910]
movdqa xmm1, xmmword [0x1801d4940]
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], rbx
mov rax, qword [0x180218350]
movdqu xmmword [rax + 0x118], xmm0
mov qword [rax + 8], rbx
movdqa xmm0, xmmword [0x1801d4960]
mov rbx, qword [rsp + 0x40]
movdqu xmmword [rax + 0x228], xmm0
mov dword [rax + 0x10], 0x41a00000
movdqu xmmword [rax + 0x238], xmm0
mov dword [rax + 0x44], 0x40a00000
movdqu xmmword [rax + 0xe8], xmm2
movdqu xmmword [rax + 0x218], xmm1
movdqu xmmword [rax + 0x138], xmm2
add rsp, 0x30
pop rdi
ret