Function at 0x140059f1c
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400ced18]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r14d, r14d
mov ebp, r8d
mov rsi, rcx
test rcx, rcx
jne 0x140059f64
xor eax, eax
jmp 0x14005a230
movd xmm0, edx
xor ecx, ecx
cvtdq2ps xmm0, xmm0
mov r12, r14
mulss xmm0, dword [0x140099528]
cvtps2pd xmm1, xmm0
divsd xmm1, qword [0x140099520]
cvtpd2ps xmm6, xmm1
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
test rax, rax
je 0x14005a22d
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
test rax, rax
je 0x14005a224
lea r8, [rsp + 0x68]
mov edx, 0x20
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
cvtps2pd xmm6, xmm6
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movd xmm1, dword [rsp + 0x6c]
xorps xmm6, xmm6
movd xmm4, dword [rsp + 0x70]
mov eax, dword [rsp + 0x6c]
neg eax
cvtsd2ss xmm6, xmm0
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm4
mulss xmm4, xmm7
movaps xmm2, xmm1
mulss xmm3, xmm6
cvttss2si r9d, xmm4
cvttss2si r8d, xmm3
mulss xmm2, xmm7
mulss xmm1, xmm6
cvttss2si r14d, xmm2
movaps xmm0, xmm2
subss xmm4, xmm1
addss xmm0, xmm3
mov r13d, r14d
cvttss2si edx, xmm4
cvttss2si ecx, xmm0
movd xmm0, eax
cmp ecx, r14d
cvtdq2ps xmm0, xmm0
cmovl r13d, ecx
cmp r8d, r13d
cmovl r13d, r8d
xor r10d, r10d
test r13d, r13d
mulss xmm0, xmm6
cmovg r13d, r10d
cvttss2si r15d, xmm0
cmp edx, r15d
mov eax, r15d
cmovl eax, edx
cmp r9d, eax
cmovl eax, r9d
test eax, eax
cmovg eax, r10d
cmp ecx, r14d
mov dword [rsp + 0x58], eax
cmovg r14d, ecx
cmp r8d, r14d
cmovg r14d, r8d
test r14d, r14d
cmovs r14d, r10d
sub r14d, r13d
cmp edx, r15d
mov dword [rsp + 0x54], r14d
cmovg r15d, edx
cmp r9d, r15d
cmovg r15d, r9d
test r15d, r15d
cmovs r15d, r10d
xor ecx, ecx
sub r15d, eax
mov dword [rsp + 0x50], r15d
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, r15d
mov edx, r14d
mov rcx, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
test rax, rax
je 0x14005a20e
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, rbx
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, ebp
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
mov rbp, rax
mov dword [rsp + 0x28], 0xf00021
mov eax, dword [rsp + 0x50]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_PatBlt]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetGraphicsMode]
mov eax, dword [rsp + 0x58]
lea rdx, [rsp + 0x88]
movaps xmm0, xmm6
movss dword [rsp + 0x88], xmm7
xorps xmm0, xmmword [0x140099530]
neg eax
movss dword [rsp + 0x8c], xmm0
neg r13d
mov rcx, rbx
movss dword [rsp + 0x90], xmm6
movss dword [rsp + 0x94], xmm7
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x98], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x9c], xmm0
call qword [sym.imp.GDI32.dll_SetWorldTransform]
mov eax, dword [rsp + 0x70]
xor r8d, r8d
mov r9d, dword [rsp + 0x6c]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rbx
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
test rsi, rsi
je 0x14005a20e
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, r12
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140082550
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret