Function at 0x140004840
Capabilities:
Capture screenshot
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 - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14008f080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [0x1400902ec]
mov dword [rsp + 0x64], eax
mov eax, dword [reloc.WS2_32.dll_getsockname]
mov dword [rsp + 0x7c], eax
mov eax, dword [0x1400902dc]
mov dword [rbp - 0x80], eax
mov edi, dword [0x140090344]
mov dword [rsp + 0x60], edi
mov esi, dword [0x140090318]
mov dword [rsp + 0x5c], esi
mov r15d, dword [0x14009030c]
mov r13d, dword [0x1400902d0]
mov r12d, dword [0x140090310]
mov eax, dword [0x1400902e8]
mov dword [rsp + 0x6c], eax
mov eax, dword [0x1400902e0]
mov dword [rsp + 0x68], eax
mov eax, dword [0x1400902d8]
mov dword [rsp + 0x58], eax
mov r14d, dword [0x1400902f4]
mov dword [rsp + 0x78], r14d
mov ebx, r14d
imul ebx, r14d
shl ebx, 2
movss xmm0, dword [0x14008f0f4]
cvtps2pd xmm0, xmm0
movsd xmm1, qword [0x140083bd0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
mulsd xmm6, qword [0x140083bc8]
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
mov ecx, esi
sub ecx, eax
mov dword [rsp + 0x54], ecx
mov ecx, edi
sub ecx, eax
mov dword [rsp + 0x50], ecx
mov dword [rbp - 0x10], Ordinal_46
mov dword [rbp - 0xc], r14d
mov eax, r14d
neg eax
mov dword [rbp - 8], eax
mov qword [rbp - 4], 0x200001
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x14], eax
movsxd rbx, ebx
mov rcx, rbx
call fcn.140070b5c
mov rdi, rax
mov qword [rbp - 0x60], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x18], rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp - 0x58], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov edx, 8
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, r14d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rbp - 0x68], rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov dword [rsp + 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp - 0x60]
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
mov rsi, qword [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x140004df4
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rax
mov rbx, rdi
test r14d, r14d
jle 0x140004b28
mov esi, dword [rsp + 0x50]
mov eax, r14d
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp - 0x20]
nop
mov edi, dword [rsp + 0x54]
mov r14, rax
mov ecx, dword [rsp + 0x58]
nop dword [rax + rax]
movzx eax, byte [rbx + 2]
cmp eax, ecx
jl 0x140004b06
cmp eax, dword [rsp + 0x68]
jg 0x140004b06
movzx eax, byte [rbx + 1]
cmp eax, dword [rsp + 0x6c]
jl 0x140004b06
cmp eax, r12d
jg 0x140004b06
movzx eax, byte [rbx]
cmp eax, r13d
jl 0x140004b06
cmp eax, r15d
jg 0x140004b06
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x74], edi
cmp rdx, qword [rbp - 0x18]
je 0x140004aeb
mov dword [rdx], edi
mov dword [rdx + 4], esi
mov rdx, qword [rbp - 0x20]
add rdx, 8
mov qword [rbp - 0x20], rdx
jmp 0x140004b06
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x74]
lea rcx, [rbp - 0x28]
call fcn.14000c860
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rsp + 0x58]
inc edi
add rbx, 4
sub r14, 1
jne 0x140004aa0
inc esi
sub qword [rbp - 0x78], 1
mov rax, qword [rbp - 0x50]
jne 0x140004a90
mov r14d, dword [rsp + 0x78]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r10, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
cmp r10, rdx
je 0x140004cab
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x70], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x6c], eax
mov r8, rdx
sub r8, r10
sar r8, 3
mov r9, qword [rbp - 0x70]
mov rcx, r10
call fcn.14000ca10
xor ebx, ebx
xor edi, edi
mov rcx, qword [rbp - 0x20]
mov rax, rcx
mov r10, qword [rbp - 0x28]
sub rax, r10
sar rax, 3
cmp rax, 1
jbe 0x140004bb0
mov ecx, dword [r10 + 4]
sub ecx, dword [r10 + 0xc]
mov eax, dword [r10]
sub eax, dword [r10 + 8]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_hypot]
mov rcx, qword [rbp - 0x20]
mov r10, qword [rbp - 0x28]
mov rax, r10
cmp r10, rcx
je 0x140004bce
nop dword [rax + rax]
add ebx, dword [rax]
add edi, dword [rax + 4]
add rax, 8
cmp rax, rcx
jne 0x140004bc0
sub rcx, r10
sar rcx, 3
movsxd rax, ebx
xor edx, edx
div rcx
mov rsi, rax
movsxd rax, edi
xor edx, edx
div rcx
mov rbx, rax
mov rcx, qword [0x140094888]
mov rax, qword [rcx]
test rax, rax
je 0x140004cab
mov ecx, dword [rsp + 0x7c]
call rax
test ax, ax
jns 0x140004ca7
sub esi, dword [rsp + 0x5c]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si edx, xmm0
sub ebx, dword [rsp + 0x60]
sub ebx, dword [rbp - 0x80]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si r8d, xmm0
cmp byte [0x1400902e4], 0
je 0x140004c56
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, dword [rsp + 0x64]
call fcn.1400045e0
jmp 0x140004ca7
mov eax, edx
neg eax
cmovs eax, edx
mov ecx, dword [0x140090308]
cmp eax, ecx
jg 0x140004c74
mov eax, r8d
neg eax
cmovs eax, r8d
cmp eax, ecx
jle 0x140004ca7
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], 1
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rbx
movzx eax, word [0x14008345c]
mov byte [rbp - 0x48], al
mov byte [rbp - 0x47], 0
mov rcx, qword [0x140094890]
call fcn.1400039f0
nop
mov r10, qword [rbp - 0x28]
mov rax, qword [0x140094888]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004cce
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call rdx
test ax, ax
jne 0x140004e43
mov r10, qword [rbp - 0x28]
test r10, r10
je 0x140004d13
mov rax, qword [rbp - 0x18]
sub rax, r10
sar rax, 3
lea rdx, [rax*8]
mov rax, r10
cmp rdx, 0x1000
jb 0x140004d0b
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e57
mov rcx, r10
call fcn.1400708d0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov edx, 8
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, r14d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rbp - 0x68], rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov dword [rsp + 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp - 0x60]
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
mov rsi, qword [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x140004a61
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
mov rcx, rdi
call fcn.1400708d0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400708b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3