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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movzx ebx, r8b
movzx ebp, dl
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
xor eax, eax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x34], 0xffffffffffffffff
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov byte [rcx + 0x50], al
mov qword [rcx + 0x58], rax
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov dword [rcx + 0x70], eax
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad71a6
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
mov rax, qword [rcx]
call qword [rax + 0x68]
mov byte [rsi + 0x50], al
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad71dc
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
mov rax, qword [rcx]
call qword [rax + 0x30]
mov byte [rsi + 0x51], al
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad7212
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov byte [rsi + 0x52], al
mov byte [rsi + 0x53], 0
test bl, bl
je 0x139ad7337
mov eax, dword [0x139d4cfcc]
test eax, eax
jg 0x139ad7333
jns 0x139ad7337
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad7268
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov ebx, eax
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad72a0
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp ebx, 1
jne 0x139ad72e1
call fcn.139a46860
mov rbx, rax
call fcn.139a46860
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xa8]
mov rbx, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x88]
cmp rbx, rax
sete al
mov byte [rsi + 0x53], al
jmp 0x139ad7337
cmp ebx, 2
jne 0x139ad7337
sub eax, 1
je 0x139ad72fa
sub eax, 1
je 0x139ad72fa
sub eax, 1
je 0x139ad7300
cmp eax, 1
je 0x139ad7333
mov byte [rsi + 0x53], 0
jmp 0x139ad7337
call fcn.139a46860
mov rdi, rax
call fcn.139a46860
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x88]
mov rbx, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xa8]
cmp rax, rbx
sete al
mov byte [rsi + 0x53], al
jmp 0x139ad7337
mov byte [rsi + 0x53], 1
cmp byte [rsi + 0x52], 0
jne 0x139ad7341
mov byte [rsi + 0x53], 0
mov rcx, qword [0x139fe20b8]
test rcx, rcx
jne 0x139ad736e
mov ecx, 0x110
call fcn.139ce5c90
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.139a570c0
mov rcx, rax
mov qword [0x139fe20b8], rax
lea r14, [rsi + 0x54]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov byte [r14], al
mov ebx, 0x20000
mov eax, 0x40000
cmp byte [rsi + 0x53], 0
cmovne ebx, eax
mov qword [rsi + 0x60], rbx
cmp byte [0x139fe01fb], 0
je 0x139ad73cd
test bpl, bpl
je 0x139ad73cd
lea rdx, [rbx - 1]
and rdx, 0xffffffffffe00000
add rdx, 0x200000
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x20003000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x139ad73ed
lea r14, [rsi + 0x54]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x139ad74f4
mov qword [rsi + 0x58], rax
mov eax, 0xec0
lock xadd qword [0x139fe24f8], rax
movzx ecx, ax
add rcx, qword [rsi + 0x58]
mov qword [rsi + 0x20], rcx
lea r12, [0x13a01a280]
mov r8, r12
lea r15, [0x13a01a040]
sub r8, r15
mov rdx, r15
call fcn.139d168d0
mov rcx, qword [rsi + 0x20]
lea rbp, [0x13a01a301]
sub rcx, r15
add rcx, r12
cmp byte [r14], 0
je 0x139ad745e
lea rdi, [0x13a01a371]
sub rdi, rbp
mov r8, rdi
mov rdx, rbp
call fcn.139d168d0
lea rdx, [0x13a01a281]
sub rbp, rdx
jmp 0x139ad7480
mov rbx, rbp
lea rdx, [0x13a01a281]
sub rbx, rdx
mov r8, rbx
call fcn.139d168d0
lea rdi, [0x13a01a371]
sub rdi, rbp
mov rbp, rbx
lea rdx, [0x13a01aa70]
mov rbx, rdx
lea r8, [0x13a01ab40]
sub rbx, r8
add rbx, 0x10000
and rbx, 0xffffffffffffffc0
sub r8, rdx
mov rcx, qword [rsi + 0x20]
add rcx, rbx
call fcn.139d168d0
cmp byte [r14], 0
cmove edi, ebp
sub edi, r15d
add edi, r12d
mov dword [rsi + 0x2c], edi
mov rcx, qword [rsi + 0x20]
mov rax, rcx
sub rax, r15
add rax, r12
mov qword [rsi + 0x40], rax
lea rax, [rbx + rcx]
mov qword [rsi + 0x48], rax
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, [0x1399d6158]
lea rcx, [rsp + 0x20]
call fcn.1399e1760
lea rdx, [0x139d45a48]
lea rcx, [rsp + 0x20]
call fcn.139ce86fc
int3