Function at 0x140003160
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140035ef0
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
test rax, rax
je 0x14000328c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rsi, qword [rsp + 0x58]
cmp r15, rsi
je 0x1400032af
lea rdi, [rsp + 0x42]
xor ebx, ebx
lea r13, [rsp + 0x40]
jmp 0x1400031f5
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140003a50
add r15, 0x20
mov rbx, r12
cmp r15, rsi
je 0x1400032b2
movzx eax, word [r15]
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsp + 0x6e], xmm0
movups xmm0, xmmword [r15 + 2]
movaps xmmword [rsp + 0x60], xmm0
cmp ax, 2
je 0x1400032e0
mov word [rsp + 0x40], ax
movups xmm0, xmmword [rsp + 0x6e]
movups xmmword [rdi + 0xe], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
mov rcx, r14
xor edx, edx
mov r8, r13
call 0x140056970
mov r12, rax
test rax, rax
je 0x1400032ef
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1400031e5
lea rax, [rbx - 1]
mov qword [rsp + 0x38], rax
mov rbp, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14000326e
mov rcx, rbp
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400031d0
mov r8, qword [rbx + 0x10]
mov rcx, rbp
call fcn.140003a50
jmp 0x1400031d0
mov edx, 1
mov rcx, r14
mov r8, r15
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140056970
xor r12d, r12d
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400032d0
shl rdx, 5
mov r8d, 4
mov rcx, qword [rsp + 0x30]
call fcn.140003a50
test r12, r12
lea rax, str.could_not_resolve_to_any_addresses
cmovne rax, r12
jmp 0x14000335a
mov r12, rbx
mov rdx, qword [rsp + 0x28]
test rdx, rdx
jne 0x1400032bc
jmp 0x1400032d0
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14000330d
shl rdx, 5
mov r8d, 4
mov rcx, qword [rsp + 0x30]
call fcn.140003a50
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x140003358
lea rsi, [rbx - 1]
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rax, qword [rbx]
test rax, rax
je 0x140003330
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140003345
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140003a50
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140003a50
xor eax, eax
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rax, r8
test dl, 1
jne 0x1400569e3
test byte [rax], 1
je 0x1400569a3
movups xmm0, xmmword [rax + 4]
mov edx, dword [rax + 0x14]
mov r9d, dword [rax + 0x18]
movzx eax, word [rax + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x1400569b8
mov edx, dword [rax + 2]
movzx eax, word [rax + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r10w, 2
rol ax, 8
mov word [rbp - 0x1c], r10w
mov word [rbp - 0x1a], ax
mov dword [rbp - 0x18], edx
movups xmmword [rbp - 0x14], xmm0
mov dword [rbp - 4], r9d
mov rcx, qword [rcx]
lea rdx, [rbp - 0x1c]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x1400569e9
xor eax, eax
add rsp, 0x40
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x40
pop rbp
ret