Function at 0x180056190
Capabilities:
Create thread
Log keystrokes via polling
Terminate process

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 - 0x3b8]
sub rsp, 0x490
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 [0x18006e040]
xor rax, rsp
mov qword [rbp + 0x330], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x140], xmm1
mov rdi, qword [0x18011d670]
lea rsi, [0x18011d660]
cmp qword [0x18011d678], 7
cmova rsi, qword [0x18011d660]
movabs rbx, 0x7ffffffffffffffe
cmp rdi, rbx
ja 0x18005743c
mov r14d, 0xa
xor r12d, r12d
cmp rdi, 7
ja 0x180056254
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x148], 7
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x130], xmm0
jmp 0x1800562ff
mov rax, rdi
or rax, 7
cmp rax, rbx
jbe 0x1800562a6
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1800562d1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180057442
mov rcx, rax
call fcn.180058ca0
mov rcx, rax
test rax, rax
je 0x180057435
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800562d6
mov rbx, rax
cmp rax, r14
cmovb rbx, r14
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180057442
add rcx, rcx
jne 0x18005626e
mov rax, r12
jmp 0x1800562d6
call fcn.180058ca0
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x148], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov edi, 4
xor edx, edx
mov ecx, r14d
call fcn.1800355d0
mov ebx, dword [0x18011c4b0]
test eax, eax
je 0x18005638c
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbx*8]
mov eax, dword [rdi + rcx]
cmp dword [0x18011d86c], eax
jle 0x180056365
lea rcx, [0x18011d86c]
call fcn.180059128
cmp dword [0x18011d86c], 0xffffffff
jne 0x180056365
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18011d858], rax
lea rcx, [0x18011d86c]
call fcn.1800590bc
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x18011d858]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005638c
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x180056414
mov edx, 3
mov ecx, 6
call fcn.1800355d0
test eax, eax
je 0x18005640e
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbx*8]
mov eax, dword [rdi + rcx]
cmp dword [0x18011d868], eax
jle 0x1800563ec
lea rcx, [0x18011d868]
call fcn.180059128
cmp dword [0x18011d868], 0xffffffff
jne 0x1800563ec
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18011d860], rax
lea rcx, [0x18011d868]
call fcn.1800590bc
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x18011d860]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005640e
mov ecx, 2
call rax
jmp 0x180056414
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov qword [rbp + 0xf0], r12
mov dword [rbp + 0xe0], 0x50
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp + 0x110], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x108], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x100], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x128], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0xf8], rax
lea rax, [0x1800560e0]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rax, qword [rbp + 0x130]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x118], r12
mov dword [rbp + 0xe4], 3
lea rcx, [rbp + 0xe0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r15d, 1
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r8, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova r8, qword [rbp + 0x130]
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
mov rdx, qword [rbp + 0x120]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r13, rax
mov qword [0x18011d538], rax
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x180063bf0]
movdqu xmmword [rbp + 0x168], xmm0
lea rdx, [rbp + 0x168]
mov rcx, r13
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x18011d540], rax
test rax, rax
je 0x1800573a2
mov qword [0x18011d550], r12
mov qword [0x18011d55c], r12
mov dword [0x18011d564], r12d
mov qword [0x18011d56c], r12
mov dword [0x18011d574], r12d
mov qword [0x18011d584], r12
mov dword [0x18011d578], r15d
mov dword [0x18011d568], r15d
mov dword [0x18011d558], 0x15
mov dword [0x18011d57c], r15d
mov dword [0x18011d580], 0x50
mov dword [0x18011d58c], r15d
mov rax, qword [rax]
lea r8, [0x18011d590]
mov qword [rsp + 0x30], r8
lea r8, [0x18011d550]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 0x40
mov r9, r13
mov r8d, r15d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x18005739b
mov edx, r14d
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x18011c4d8]
test rbx, rbx
je 0x180056654
inc dword [rbx + 0xf4]
mov ecx, 0x5e48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0x150], rax
test rax, rax
je 0x180056686
xor edx, edx
mov rcx, rax
call fcn.1800065c0
jmp 0x180056689
mov rax, r12
mov qword [0x18011c4d8], rax
call fcn.18000a9f0
test rbx, rbx
je 0x1800566a3
mov qword [0x18011c4d8], rbx
jmp 0x1800566aa
mov rbx, qword [0x18011c4d8]
or dword [rbx + 8], 1
xor ecx, ecx
call fcn.180029040
mov edx, 2
mov rcx, r13
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rax, qword [0x18011c4d8]
mov qword [rax + 0x20], r12
mov rcx, r13
call fcn.180033790
mov rsi, qword [0x18011d590]
mov rdi, qword [0x18011c4d8]
test rdi, rdi
je 0x1800566ef
inc dword [rdi + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x18005671e
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x180056721
mov rax, r12
mov qword [rdi + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rdi + 0x90], rcx
or dword [rdi + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
mov dword [rbp - 0x3c], 0x7f7fffff
movss xmm6, dword [0x180063a28]
mov dword [rbp - 0x30], 0x3f800000
mov edi, 0xffff
mov word [rbp - 0x2c], di
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x1800fc020]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0x1f84c
mov dword [rbp + 0x44], 0x41600000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x58]
call fcn.18002e480
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov word [rbp - 0x2c], di
mov byte [rbp - 0x38], 1
mov byte [rbp - 0x60], 1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x18008d4e0]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0x6eb40
mov dword [rbp + 0x44], 0x41500000
lea rax, [0x180063974]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x58]
call fcn.18002e480
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov word [rbp - 0x2c], di
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x18006e2d0]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0x1efe4
mov dword [rbp + 0x44], 0x41e00000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x58]
call fcn.18002e480
xor r14b, r14b
movdqa xmm10, xmmword [0x180063f70]
movss xmm8, dword [0x180063a90]
movss xmm9, dword [0x180063a54]
movss xmm7, dword [0x1800639e8]
nop word [rax + rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x178]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1800569f7
nop
lea rcx, [rbp + 0x178]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x178]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r14d, r14b
cmp dword [rbp + 0x180], 0x12
cmove r14d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x178]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1800569b0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x180057382
mov rcx, qword [0x18011d598]
test rcx, rcx
je 0x180056a52
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180056a4b
lea rdx, [rbp + 0x150]
mov rcx, qword [0x18011d598]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x18011d548]
cmp dword [rbp + 0x150], eax
jne 0x180056a4b
mov rcx, qword [0x18011d598]
jmp 0x180056a5f
mov rcx, qword [0x18011d598]
cmp byte [0x18011c529], 0
jne 0x180057117
test r14b, r14b
jne 0x180057117
mov edx, dword [0x18011c7a8]
test edx, edx
je 0x180056aa2
mov eax, dword [0x18011c748]
test eax, eax
je 0x180056aa2
mov dword [0x18011d550], edx
mov dword [0x18011d554], eax
mov dword [0x18011c748], r12d
mov dword [0x18011c7a8], r12d
call fcn.180057450
mov rcx, qword [0x18011d598]
test rcx, rcx
je 0x180056990
lea rdx, [rbp + 0x158]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x160]
mov r8d, dword [rbp + 0x158]
sub ecx, r8d
mov eax, dword [rbp + 0x164]
mov r9d, dword [rbp + 0x15c]
sub eax, r9d
mov dword [0x18011c6e8], ecx
mov dword [0x18011c598], eax
dec ecx
dec eax
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x7d
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x180056bcf
mov r8d, 0x7d
lea rdx, [rbp + 0x230]
mov rcx, qword [0x18011d598]
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x180056bcf
mov r8d, 0x7d
lea rdx, [rbp + 0x2b0]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x180056bcf
lea rax, [rbp + 0x1b0]
lea r8, [rbp + 0x230]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180056b87
inc rax
test ecx, ecx
jne 0x180056b74
test edx, edx
je 0x180056cbd
lea rax, [rbp + 0x1b0]
lea r8, [rbp + 0x2b0]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180056bb3
inc rax
test ecx, ecx
jne 0x180056ba0
test edx, edx
je 0x180056cbd
mov edx, 0xffffffec
mov r8d, 0x800a8
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowLongW]
cmp byte [0x18011c529], 0
je 0x180056cbd
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x180056c73
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x180056990
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x180056990
call fcn.180057450
jmp 0x180056990
mov rax, qword [0x18011c4d8]
test rax, rax
je 0x180056cd2
mov rcx, qword [rax + 0xa0]
jmp 0x180056cd5
mov rcx, r12
cmp qword [rcx + 0x18], 0
jne 0x180056cf8
test rax, rax
je 0x180056cf8
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x180056cf8
cmp qword [rcx], 0
je 0x180056cf8
call fcn.180033560
call fcn.180034110
cmp qword [0x18011c578], 0
jne 0x180056d2c
mov rbx, qword [0x18011d590]
lea rdx, [0x18011d628]
lea rcx, [rbp + 0xc0]
call fcn.180057580
mov rdx, rbx
mov rcx, rax
call fcn.180055dd0
cmp qword [0x18011c508], 0
jne 0x180056d57
lea r9, [0x18011c508]
mov r8d, 0x1b1
lea rdx, [0x18006e110]
mov rcx, qword [0x18011d590]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
cmp qword [0x18011c738], 0
jne 0x180056d82
lea r9, [0x18011c738]
mov r8d, 0x1f2
lea rdx, [0x18011b870]
mov rcx, qword [0x18011d590]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
cmp qword [0x18011c510], 0
jne 0x180056dad
lea r9, [0x18011c510]
mov r8d, 0x21e
lea rdx, [0x18008d2c0]
mov rcx, qword [0x18011d590]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
call fcn.18000ce80
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180056dfc
cmp byte [0x18006e0d0], 0
sete al
mov byte [0x18006e0d0], al
test al, al
jne 0x180056dfc
mov rcx, qword [0x18011c500]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, qword [0x18011c500]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x18011c500]
call qword [sym.imp.USER32.dll_SetFocus]
cmp byte [0x18006e0d0], 1
jne 0x180056e19
call fcn.1800522a0
cmp byte [0x18006e0d0], 1
mov r8d, 0x80088
je 0x180056e1f
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.18000ef50
call fcn.18000eb90
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
cmp byte [0x18011c529], 0
je 0x18005709f
cmp byte [0x18011c528], 0
je 0x180056f7e
mov eax, dword [0x18011c598]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [0x18011c6e8]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
movdqa xmmword [rbp + 0x10], xmm10
mov rcx, qword [0x18011c4d8]
mov rcx, qword [rcx + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.18000c540
mov rsi, rax
lea rcx, [rbp + 0x10]
call fcn.1800088c0
mov r15d, eax
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x70], xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x74], xmm1
test eax, 0xff000000
je 0x180056f7e
mov dword [rsp + 0x28], 0x63
movss dword [rsp + 0x20], xmm8
xorps xmm3, xmm3
movaps xmm2, xmm9
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.18002ba50
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
mov r9d, r15d
mov r8d, dword [rsi + 0x78]
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
call fcn.180029ff0
mov dword [rsi + 0x78], r12d
cmp byte [0x18011c4ef], 0
je 0x18005709f
movss xmm1, dword [0x18006e0f8]
movss xmm2, dword [0x18006e0fc]
movss xmm3, dword [0x18006e100]
mov dword [rbp + 0x2c], 0x3f800000
cvttss2si esi, dword [0x18006e0f4]
mov eax, dword [0x18011c598]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [0x18011c6e8]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
movups xmm0, xmmword [rbp + 0x20]
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm2
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm3
shufps xmm0, xmm0, 0xc9
movups xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov rax, qword [0x18011c4d8]
mov rax, qword [rax + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.18000c540
mov r15, rax
lea rcx, [rbp + 0x10]
call fcn.1800088c0
mov r12d, eax
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x6c], xmm1
movd xmm2, esi
cvtdq2ps xmm2, xmm2
test eax, 0xff000000
je 0x18005709c
comiss xmm7, xmm2
ja 0x18005709c
subss xmm2, xmm7
mov dword [rsp + 0x28], 0x63
movss dword [rsp + 0x20], xmm8
xorps xmm3, xmm3
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.18002ba50
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
mov r9d, r12d
mov r8d, dword [r15 + 0x78]
mov rdx, qword [r15 + 0x80]
mov rcx, r15
call fcn.180029ff0
xor r12d, r12d
mov dword [r15 + 0x78], r12d
jmp 0x18005709f
xor r12d, r12d
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1800570ef
call fcn.18000ef50
mov rax, qword [0x18011c4d8]
mov rax, qword [rax + 0x48a8]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r12
cmp byte [rcx], 0
cmovne rax, rcx
mov rcx, rax
call fcn.180032fa0
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x18011d590]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
mov r15d, 1
jmp 0x180056c90
mov rcx, qword [0x18011c4d8]
test rcx, rcx
je 0x18005712c
mov rsi, qword [rcx + 0xa0]
jmp 0x18005712f
mov rsi, r12
lea rdi, [rcx + 8]
test rcx, rcx
je 0x1800571a9
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x1800571a9
cmp qword [rbx], 0
je 0x1800571a9
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180057167
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], r12
mov rcx, qword [0x18011c4d8]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x180057184
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], r12
mov rcx, qword [0x18011c4d8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1800571a9
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], r12
mov rcx, qword [0x18011c4d8]
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], r12
mov rdx, qword [rsi]
test rdx, rdx
je 0x1800571c1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x18011c4d8]
mov qword [rdi + 0x88], r12
mov qword [rdi + 0x98], r12
and dword [rdi + 4], 0xfffffff7
test rcx, rcx
je 0x1800571de
dec dword [rcx + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18011c4d8]
test rax, rax
je 0x1800571fc
mov rdi, qword [rax + 0x98]
jmp 0x1800571ff
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x180057219
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x18011c4d8]
mov qword [rbx + 0x80], r12
mov qword [rbx + 0x90], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x180057236
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x18011c4d8]
mov qword [0x18011c4d8], rbx
call fcn.18000ae00
mov qword [0x18011c4d8], r12
test rbx, rbx
je 0x180057281
mov rcx, rbx
call fcn.180021810
mov rax, qword [0x18011c4d8]
test rax, rax
je 0x180057278
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x18011d590]
test rcx, rcx
je 0x18005729a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18011d590], r12
mov rcx, qword [0x18011d540]
test rcx, rcx
je 0x1800572b3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18011d540], r12
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, qword [0x18011d5a0]
mov r8, qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x180057339
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057435
call fcn.18005904c
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180058c80
lea r11, [rsp + 0x490]
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 edx, 0x12c
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Beep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x18011d540]
mov rdx, qword [0x18011d590]
test rdx, rdx
je 0x1800573c5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x18011d590], r12
mov rcx, qword [0x18011d540]
test rcx, rcx
je 0x1800573d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18011d540], r12
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x180057339
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057334
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001ea0
int3
call fcn.180001740
int3