Function at 0x1800976f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rbp + 0x50], rax
movzx r13d, r9b
mov rsi, r8
mov qword [rsp + 0x58], r8
mov r14, rdx
mov rbx, rcx
mov ecx, 0x28
call fcn.18031edd0
mov r12, rax
mov qword [rsp + 0x60], rax
movzx ecx, byte [rbx + 2]
mov eax, 1
shl rax, cl
dec rax
shr rax, 0x15
inc rax
shl rax, 0x15
mov qword [r12], rax
xor r15d, r15d
mov dword [r12 + 8], r15d
mov qword [r12 + 0x10], rax
xor eax, eax
mov dword [r12 + 0x18], eax
mov qword [r12 + 0x20], r15
lea edx, [rax + 0x40]
mov rcx, qword [r12]
call fcn.18032df50
mov qword [r12 + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov edx, dword [rbx]
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
mov r11d, 0xffff0000
cmp eax, 0x63000000
cmove ecx, r11d
and ecx, edx
cmp ecx, 0x72000000
jne 0x180097a7f
xor edx, edx
mov rcx, rbx
call fcn.1801567b0
test rax, rax
jne 0x18009785a
mov rax, qword [rbx + 0x270]
sub rax, qword [rbx + 0x268]
sar rax, 2
add dword [rsi], eax
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x180097855
mov eax, dword [r12 + 0x18]
shr eax, 3
and al, 1
je 0x18009782a
lea rcx, [0x18075aba0]
call fcn.18031d8c0
test eax, eax
jne 0x180097eee
mov rcx, qword [0x18075bd38]
mov rax, qword [rcx]
mov edx, dword [r12 + 8]
call qword [rax + 0x18]
lea rcx, [0x18075aba0]
call fcn.18031d8e4
jmp 0x180097855
movzx eax, byte [r12 + 0x18]
and al, 1
jne 0x180097846
mov eax, dword [r12 + 0x18]
shr eax, 1
and al, 1
jne 0x180097846
call fcn.18032df34
jmp 0x180097855
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
jmp 0x180097eb9
xor esi, esi
mov ecx, esi
mov edx, 2
test r13b, r13b
cmovne ecx, edx
mov r8, qword [rax + 8]
test r8, r8
je 0x180097875
or ecx, 4
mov rax, qword [rax + 0x10]
test rax, rax
je 0x180097883
cmp byte [rax], sil
je 0x180097886
or ecx, 8
test r8, r8
jne 0x180097891
mov rdx, qword [rax + 0x20]
jmp 0x180097894
mov rdx, rsi
mov dword [rsp + 0x20], esi
mov r9, qword [r12 + 0x20]
call fcn.180153b60
mov rdi, rax
mov r12, qword [rbx + 0x268]
mov r15, qword [rbx + 0x270]
mov qword [rsp + 0x70], r15
cmp r12, r15
je 0x180097a67
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
mov r8d, 0x4c
mov r13d, dword [r12]
mov eax, dword [rbx]
and eax, 0xff000000
mov edx, 0xff000000
cmp eax, 0x63000000
mov eax, 0xffff0000
cmove edx, eax
and edx, dword [rbx]
cmp edx, 0x6b000000
jne 0x1800978fe
mov eax, 0x20
jmp 0x18009790d
mov eax, 0x27
cmp edx, 0x6c000000
cmove rax, r8
mov dword [rax + rbx + 0x88], r13d
lea r8, [rbx + 0x88]
mov r9, qword [rbx + 0x20]
mov edx, 0x40
lea rcx, [rbp - 0x10]
call qword [case.0x180155c6d.0]
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rsp + 0x48], 0x9fc0
ldmxcsr dword [rsp + 0x48]
cmp dword [0x18075b224], 1
je 0x18009798e
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + gethostname]
mov r9d, 0x100
lea r8, [rdi + 0x980]
mov edx, 0x40
lea rcx, [rbp - 0x10]
call qword [case.0x180155c6d.0]
inc esi
mov eax, dword [0x18075b224]
dec eax
cmp esi, eax
jb 0x180097952
mov r15, qword [rsp + 0x70]
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + gethostname]
mov rax, qword [rdi]
lea rdx, [rbp + 0x30]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rsp + 0x48], r13d
mov rax, qword [rbx + 0x80]
cmp qword [rbp + 0x48], rax
jae 0x180097a0d
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1800979f1
mov rcx, rdx
mov r8, r13
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x30]
mov rdx, rbx
call fcn.180097480
add qword [r14 + 8], 0xe8
jmp 0x180097a54
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, rbx
mov rcx, r14
call fcn.180098960
jmp 0x180097a52
mov eax, dword [rbx + 0x68]
cmp eax, 1
jne 0x180097a1e
lea r8, str.e_45_1me_1_37m_opencl__e_0m
jmp 0x180097a33
lea r8, str.e_42_1me_1_37m_nvidia__e_0m
cmp eax, 2
lea rax, str.e_46_1me_1_37m_cpu_____e_0m
cmovne r8, rax
mov r9d, dword [rbx + 0x280]
lea rdx, str._s_e_0_31mGPU__u_COMPUTE_ERROR
mov ecx, 3
call fcn.180025c20
mov rsi, qword [rsp + 0x58]
inc dword [rsi]
xor esi, esi
add r12, 4
cmp r12, r15
mov r8d, 0x4c
jne 0x1800978d0
test rdi, rdi
je 0x180097e3e
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
jmp 0x180097e3e
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, r11d
and ecx, edx
cmp ecx, 0x61000000
jne 0x180097ab7
mov rax, qword [rbx + 0x270]
sub rax, qword [rbx + 0x268]
sar rax, 2
add dword [rsi], eax
jmp 0x180097e43
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, r11d
and ecx, edx
cmp ecx, 0x6b000000
jne 0x180097d0c
mov rdi, qword [rbx + 0x268]
mov rax, qword [rbx + 0x270]
mov qword [rsp + 0x78], rax
cmp rdi, rax
je 0x180097e43
lea r10, [0x18075b7f0]
mov qword [rbp - 0x80], r10
lea r15, [rbx + 0x88]
mov r9d, 0x4c
mov r13, qword [rsp + 0x58]
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rdi]
mov eax, dword [rbx]
and eax, 0xff000000
mov edx, 0xff000000
cmp eax, 0x63000000
cmove edx, r11d
and edx, dword [rbx]
cmp edx, 0x6b000000
jne 0x180097b49
mov eax, 0x20
jmp 0x180097b58
mov eax, 0x27
cmp edx, 0x6c000000
cmove rax, r9
mov dword [rax + rbx + 0x88], r8d
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov rsi, qword [rbx + 0xa8]
mov qword [rsp + 0x68], rsi
mov rcx, r10
call fcn.18031d8c0
test eax, eax
jne 0x180097ef6
mov rcx, qword [rbx + 0x78]
movabs rax, 0x179ec9cbd821dc3b
mul rcx
sub rcx, rdx
shr rcx, 1
add rdx, rcx
shr rdx, 0xc
call fcn.180161850
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rbp - 0x78]
mov edx, dword [rbx + 0x78]
call fcn.180162210
nop
lea rcx, [0x18075b7f0]
call fcn.18031d8e4
xor ecx, ecx
lea rdx, [rbp - 0x3a]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + 1]
mov byte [rbp + rcx + 0x30], al
movzx eax, byte [rdx]
mov byte [rbp + rcx + 0x31], al
add rcx, 2
lea rdx, [rdx - 2]
cmp rcx, 0x20
jb 0x180097bf0
mov rax, qword [rbx + 0x80]
cmp qword [rbp + 0x48], rax
jae 0x180097ca3
lea rax, [rbp - 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x180097c73
mov qword [rsp + 0x30], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x58]
mov r8, rsi
mov rdx, rbx
mov rcx, qword [r14 + 8]
call fcn.180097480
add qword [r14 + 8], 0xe8
jmp 0x180097ce5
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8, rbx
mov rcx, r14
call fcn.180098b10
jmp 0x180097ce5
mov eax, dword [rbx + 0x68]
cmp eax, 1
jne 0x180097cb4
lea r8, str.e_45_1me_1_37m_opencl__e_0m
jmp 0x180097cc9
lea r8, str.e_42_1me_1_37m_nvidia__e_0m
cmp eax, 2
lea rax, str.e_46_1me_1_37m_cpu_____e_0m
cmovne r8, rax
mov r9d, dword [rbx + 0x280]
lea rdx, str._s_e_0_31mGPU__u_COMPUTE_ERROR
mov ecx, 3
call fcn.180025c20
inc dword [r13]
add rdi, 4
cmp rdi, qword [rsp + 0x78]
mov r9d, 0x4c
lea r10, [0x18075b7f0]
mov r11d, 0xffff0000
jne 0x180097b20
jmp 0x180097e43
mov rdi, qword [r12 + 0x20]
mov edx, 0x1000
mov ecx, 0x1c0
call fcn.18032df50
mov rsi, rax
mov qword [rax + 0xe0], rdi
mov edx, 0x4000
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsi + 0x118], rax
mov dword [rsi + 0x120], r15d
mov qword [rsi + 0x128], 0xffffffffffffffff
mov qword [rsp + 0x68], rsi
mov r15, qword [rbx + 0x270]
mov rdi, qword [rbx + 0x268]
cmp rdi, r15
je 0x180097e43
mov r9d, 3
test r13b, r13b
mov eax, 1
cmovne r9d, eax
mov dword [rsp + 0x48], r9d
lea r8d, [rax + 0x4b]
mov r13, qword [rsp + 0x58]
nop word [rax + rax]
mov esi, dword [rdi]
mov eax, dword [rbx]
and eax, 0xff000000
mov edx, 0xff000000
cmp eax, 0x63000000
mov eax, 0xffff0000
cmove edx, eax
and edx, dword [rbx]
cmp edx, 0x6b000000
jne 0x180097dcc
mov eax, 0x20
jmp 0x180097ddb
mov eax, 0x27
cmp edx, 0x6c000000
cmove rax, r8
mov dword [rax + rbx + 0x88], esi
xor r8d, r8d
mov edx, r9d
mov rcx, rbx
call fcn.1800aaf90
mov rcx, qword [rbx + 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x30]
mov rdx, qword [rbx + 0x20]
lea rcx, [rbx + 0x88]
call rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x30]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.180097620
add rdi, 4
cmp rdi, r15
mov r8d, 0x4c
mov r9d, dword [rsp + 0x48]
jne 0x180097da0
mov r12, qword [rsp + 0x60]
test r12, r12
je 0x180097ec6
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x180097eb9
mov eax, dword [r12 + 0x18]
shr eax, 3
and al, 1
je 0x180097e8e
lea rcx, [0x18075aba0]
call fcn.18031d8c0
test eax, eax
jne 0x180097ee6
mov rcx, qword [0x18075bd38]
mov rax, qword [rcx]
mov edx, dword [r12 + 8]
call qword [rax + 0x18]
lea rcx, [0x18075aba0]
call fcn.18031d8e4
jmp 0x180097eb9
movzx eax, byte [r12 + 0x18]
and al, 1
jne 0x180097eaa
mov eax, dword [r12 + 0x18]
shr eax, 1
and al, 1
jne 0x180097eaa
call fcn.18032df34
jmp 0x180097eb9
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov edx, 0x28
mov rcx, r12
call fcn.18031ee0c
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18031edb0
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.18031d5b4
nop
mov ecx, eax
call fcn.18031d5b4
nop
mov ecx, eax
call fcn.18031d5b4
int3