Function at 0x18007b150
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x180352cc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r8
mov qword [rbp - 0x31], rdx
mov r13, rcx
mov qword [rbp - 0x49], rcx
xor ebx, ebx
mov rax, qword [rdx]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007b3dd
movsxd r12, dword [rax + 0x3c]
add r12, rax
cmp dword [r12], 0x4550
jne 0x18007b40e
movzx r14d, word [r12 + 0x14]
add r14, 0x18
add r14, r12
mov r15d, ebx
cmp bx, word [r12 + 6]
jae 0x18007b3a9
mov edi, 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov rax, qword [r14]
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], 0
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.18022b730
test rax, rax
je 0x18007b20b
lea rcx, [rbp - 0x29]
sub rax, rcx
jmp 0x18007b212
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
cmp rax, 8
cmova rax, rdi
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180005290
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18007b274
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007b26f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007b43f
call fcn.1801675d4
movups xmm0, xmmword [rbp - 9]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rbp - 0x19], xmm1
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x18007b291
mov rdx, qword [rsi]
lea rcx, [rbp - 0x29]
movq rbx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdi, xmm0
cmp rdi, 0xf
cmova rcx, rbx
movq r8, xmm1
cmp r8, qword [rsi + 0x10]
jne 0x18007b2c4
call fcn.18022abf0
test eax, eax
je 0x18007b318
cmp rdi, 0xf
jbe 0x18007b2fb
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18007b2f3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007b3a3
mov rcx, rbx
call fcn.1801675d4
inc r15d
add r14, 0x28
movzx eax, word [r12 + 6]
cmp r15d, eax
jge 0x18007b3a9
xor ebx, ebx
jmp 0x18007b1cc
mov r8d, dword [r14 + 0x10]
mov edx, dword [r14 + 0x14]
mov rax, qword [rbp - 0x31]
add rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
mov rcx, r13
call fcn.180005290
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18007b379
inc rdx
mov rcx, qword [rbp - 0x29]
mov r8, rcx
cmp rdx, 0x1000
jb 0x18007b374
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x18007b3a3
call fcn.1801675d4
mov rax, r13
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1801676f0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1801b6a18
int3
lea rax, str.Section__not_found
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], socket
mov r8, rsi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.18002bae0
lea rdx, [0x180327f08]
lea rcx, [rbp - 9]
call fcn.1801a7510
int3
lea rax, str.Invalid_DOS_file
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.180066780
lea rdx, [0x180327f08]
lea rcx, [rbp - 9]
call fcn.1801a7510
int3
lea rax, str.Invalid_NT_signature
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], socket
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.180066780
lea rdx, [0x180327f08]
lea rcx, [rbp - 9]
call fcn.1801a7510
nop
call fcn.1801b6a18
nop
int3