Function at 0x1400b9f60
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 [0x1405c5118]
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.1403deee0
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.1403edeb8
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 0x1400ba2ef
xor edx, edx
mov rcx, rbx
call fcn.14017a0f0
test rax, rax
jne 0x1400ba0ca
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 0x1400ba0c5
mov eax, dword [r12 + 0x18]
shr eax, 3
and al, 1
je 0x1400ba09a
lea rcx, [0x1408606d0]
call fcn.1403dd9cc
test eax, eax
jne 0x1400ba75e
mov rcx, qword [0x1408618f0]
mov rax, qword [rcx]
mov edx, dword [r12 + 8]
call qword [rax + 0x18]
lea rcx, [0x1408606d0]
call fcn.1403dd9f0
jmp 0x1400ba0c5
movzx eax, byte [r12 + 0x18]
and al, 1
jne 0x1400ba0b6
mov eax, dword [r12 + 0x18]
shr eax, 1
and al, 1
jne 0x1400ba0b6
call fcn.1403ede9c
jmp 0x1400ba0c5
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
jmp 0x1400ba729
xor esi, esi
mov ecx, esi
mov edx, 2
test r13b, r13b
cmovne ecx, edx
mov r8, qword [rax + 8]
test r8, r8
je 0x1400ba0e5
or ecx, 4
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1400ba0f3
cmp byte [rax], sil
je 0x1400ba0f6
or ecx, 8
test r8, r8
jne 0x1400ba101
mov rdx, qword [rax + 0x20]
jmp 0x1400ba104
mov rdx, rsi
mov dword [rsp + 0x20], esi
mov r9, qword [r12 + 0x20]
call fcn.1401774a0
mov rdi, rax
mov r12, qword [rbx + 0x268]
mov r15, qword [rbx + 0x270]
mov qword [rsp + 0x70], r15
cmp r12, r15
je 0x1400ba2d7
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 0x1400ba16e
mov eax, 0x20
jmp 0x1400ba17d
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.0x1401795ad.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 [0x140860be4], 1
je 0x1400ba1fe
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov r9d, 0x100
lea r8, [rdi + 0x980]
mov edx, 0x40
lea rcx, [rbp - 0x10]
call qword [case.0x1401795ad.0]
inc esi
mov eax, dword [0x140860be4]
dec eax
cmp esi, eax
jb 0x1400ba1c2
mov r15, qword [rsp + 0x70]
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_getservbyport]
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 0x1400ba27d
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400ba261
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.1400b9cf0
add qword [r14 + 8], 0xe8
jmp 0x1400ba2c4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, rbx
mov rcx, r14
call fcn.1400bb1d0
jmp 0x1400ba2c2
mov eax, dword [rbx + 0x68]
cmp eax, 1
jne 0x1400ba28e
lea r8, str.e_45_1me_1_37m_opencl__e_0m
jmp 0x1400ba2a3
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.140026ac0
mov rsi, qword [rsp + 0x58]
inc dword [rsi]
xor esi, esi
add r12, 4
cmp r12, r15
mov r8d, 0x4c
jne 0x1400ba140
test rdi, rdi
je 0x1400ba6ae
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
jmp 0x1400ba6ae
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, r11d
and ecx, edx
cmp ecx, 0x61000000
jne 0x1400ba327
mov rax, qword [rbx + 0x270]
sub rax, qword [rbx + 0x268]
sar rax, 2
add dword [rsi], eax
jmp 0x1400ba6b3
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, r11d
and ecx, edx
cmp ecx, 0x6b000000
jne 0x1400ba57c
mov rdi, qword [rbx + 0x268]
mov rax, qword [rbx + 0x270]
mov qword [rsp + 0x78], rax
cmp rdi, rax
je 0x1400ba6b3
lea r10, [0x140861320]
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 0x1400ba3b9
mov eax, 0x20
jmp 0x1400ba3c8
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.1403dd9cc
test eax, eax
jne 0x1400ba766
mov rcx, qword [rbx + 0x78]
movabs rax, 0x179ec9cbd821dc3b
mul rcx
sub rcx, rdx
shr rcx, 1
add rdx, rcx
shr rdx, 0xc
call fcn.140185190
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.140185b50
nop
lea rcx, [0x140861320]
call fcn.1403dd9f0
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 0x1400ba460
mov rax, qword [rbx + 0x80]
cmp qword [rbp + 0x48], rax
jae 0x1400ba513
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 0x1400ba4e3
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.1400b9cf0
add qword [r14 + 8], 0xe8
jmp 0x1400ba555
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.1400bb380
jmp 0x1400ba555
mov eax, dword [rbx + 0x68]
cmp eax, 1
jne 0x1400ba524
lea r8, str.e_45_1me_1_37m_opencl__e_0m
jmp 0x1400ba539
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.140026ac0
inc dword [r13]
add rdi, 4
cmp rdi, qword [rsp + 0x78]
mov r9d, 0x4c
lea r10, [0x140861320]
mov r11d, 0xffff0000
jne 0x1400ba390
jmp 0x1400ba6b3
mov rdi, qword [r12 + 0x20]
mov edx, 0x1000
mov ecx, 0x1c0
call fcn.1403edeb8
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 0x1400ba6b3
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 0x1400ba63c
mov eax, 0x20
jmp 0x1400ba64b
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.1400ce920
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.1400b9e90
add rdi, 4
cmp rdi, r15
mov r8d, 0x4c
mov r9d, dword [rsp + 0x48]
jne 0x1400ba610
mov r12, qword [rsp + 0x60]
test r12, r12
je 0x1400ba736
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x1400ba729
mov eax, dword [r12 + 0x18]
shr eax, 3
and al, 1
je 0x1400ba6fe
lea rcx, [0x1408606d0]
call fcn.1403dd9cc
test eax, eax
jne 0x1400ba756
mov rcx, qword [0x1408618f0]
mov rax, qword [rcx]
mov edx, dword [r12 + 8]
call qword [rax + 0x18]
lea rcx, [0x1408606d0]
call fcn.1403dd9f0
jmp 0x1400ba729
movzx eax, byte [r12 + 0x18]
and al, 1
jne 0x1400ba71a
mov eax, dword [r12 + 0x18]
shr eax, 1
and al, 1
jne 0x1400ba71a
call fcn.1403ede9c
jmp 0x1400ba729
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov edx, 0x28
mov rcx, r12
call fcn.1403def1c
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1403deec0
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.1403dd6c0
nop
mov ecx, eax
call fcn.1403dd6c0
nop
mov ecx, eax
call fcn.1403dd6c0
int3