Function at 0x1401d7b18
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
mov rdi, rdx
movzx ebx, byte [rdx + 0x24]
mov r15, rcx
and dword [rsp + 0x90], 0
not ebx
and dword [rsp + 0x34], 0
and ebx, 1
mov r12d, dword [rax]
mov eax, dword [rsp + 0xc0]
mov rsi, qword [rcx + 0x10]
mov r13d, dword [rdx + 8]
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xb8]
test eax, eax
je 0x1401d7b7a
mov r14d, r9d
sub r14d, eax
jmp 0x1401d7b86
mov eax, dword [rcx + 0x38]
lea r14d, [rax + 1]
add eax, ebp
mov dword [rcx + 0x38], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x1401d7b92
inc eax
jmp 0x1401d7b96
mov eax, dword [r8 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x98], eax
call fcn.140209d9c
mov r9d, dword [rsp + 0xb0]
mov r8d, r14d
mov rdx, qword [rdi]
mov dword [rdi + 0x1c], eax
mov eax, r9d
neg eax
sbb cl, cl
and cl, 4
inc cl
mov byte [rsp + 0x20], cl
mov rcx, r15
call fcn.1401f3710
test ebx, ebx
je 0x1401d7bec
and dword [rsp + 0x20], 0
lea r9d, [r14 + r12]
mov r8d, dword [rdi + 0xc]
mov edx, 0x78
mov rcx, rsi
call fcn.14020a23c
cmp dword [rsp + 0xc0], 0
jne 0x1401d7c22
mov eax, dword [rsp + 0xb8]
test eax, eax
jle 0x1401d7c22
mov r8d, dword [rsp + 0xa8]
lea r9d, [r14 + r12]
mov rcx, qword [r15 + 0x10]
add r9d, ebx
mov edx, Ordinal_79
mov dword [rsp + 0x20], eax
call fcn.14020a23c
test r13d, r13d
jle 0x1401d7e09
mov r8, qword [rsp + 0xa0]
mov r9d, r14d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r15
call fcn.1401d7f20
mov edx, dword [r15 + 0x38]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov rcx, rsi
mov dword [rsp + 0x90], eax
lea eax, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [rsp + 0xb0], eax
mov eax, r12d
mov dword [r15 + 0x38], edx
sub eax, dword [rdi + 8]
add eax, ebx
mov dword [rsp + 0x30], eax
test ebx, ebx
je 0x1401d7c86
lea r8d, [r14 + r12]
lea edx, [r9 + 0x14]
jmp 0x1401d7c8f
mov r8d, dword [rdi + 0xc]
mov edx, reloc.WS2_32.dll_WSAStartup
call fcn.14020a23c
mov r8d, dword [rsp + 0xb0]
mov r9d, r14d
mov dword [rsp + 0xc0], eax
mov edx, 0x57
mov eax, dword [rdi + 8]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14020a23c
mov edx, dword [rdi + 0x18]
mov rcx, rsi
call fcn.1402095ec
mov rcx, qword [r15]
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x61], 0
jne 0x1401d7f08
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0x30]
add ecx, dword [rsp + 0xb8]
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.14011d670
mov r9d, 0xfffffff7
mov r8, rbx
or edx, 0xffffffff
mov rcx, rsi
call fcn.140209698
movzx r9d, word [rbx + 8]
mov r8d, r13d
movzx eax, word [rbx + 6]
mov rcx, r15
mov rdx, qword [rdi]
sub r9d, eax
dec r9d
call fcn.1401d6df8
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x10]
mov ebx, dword [rsi + 0xb8]
mov rcx, rsi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.14020a23c
mov rcx, rsi
call fcn.140209d9c
and dword [rsp + 0x20], 0
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rdi + 0x14], eax
mov rcx, rsi
mov r8d, dword [r15 + 0x38]
inc r8d
mov dword [r15 + 0x38], r8d
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.14020a23c
mov r8d, dword [rdi + 0xc]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov edx, Ordinal_143
mov rcx, rsi
call fcn.14020a23c
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1401d7dbe
and dword [rsp + 0x20], 0
mov r8d, eax
mov r9d, dword [rdi + 0x1c]
mov edx, reloc.WS2_32.dll_sendto
mov rcx, rsi
call fcn.14020a23c
mov edx, dword [rsp + 0xc0]
mov rcx, rsi
call fcn.1402095ec
mov ecx, dword [rsi + 0xb8]
mov r8d, r14d
mov r9d, dword [rsp + 0xb0]
mov edx, Ordinal_79
mov dword [rax + 8], ecx
mov eax, dword [rdi + 8]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14020a23c
mov edx, ebx
mov rcx, rsi
call fcn.1402095ec
mov ecx, dword [rsi + 0xb8]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1401d7e8c
mov r9d, dword [rsi + 0xb8]
mov r8d, eax
mov ebx, dword [rdi + 0xc]
add r9d, 4
and dword [rsp + 0x20], 0
mov edx, Ordinal_50
mov rcx, rsi
call fcn.14020a23c
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x20]
call fcn.14020a23c
xor r9d, r9d
lea eax, [r14 + r13]
sub r12d, r13d
mov r8d, ebx
mov dword [rsp + 0x28], r12d
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0x25]
call fcn.140209e38
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
mov r12d, eax
lea edx, [r9 + 0x7c]
call fcn.14020a23c
jmp 0x1401d7e91
mov r12d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x90]
test r9d, r9d
jne 0x1401d7ebb
mov r8, qword [rsp + 0xa0]
mov r9d, r14d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r15
call fcn.1401d7f20
mov r9d, eax
mov dl, byte [rdi + 0x24]
lea eax, [r14 + r13]
mov r8d, dword [rdi + 0xc]
not dl
and edx, 1
sub ebp, r13d
or edx, 0x84
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.140209e38
test r12d, r12d
je 0x1401d7f08
mov r9d, dword [rdi + 0x20]
test r9d, r9d
jne 0x1401d7ef9
mov r9d, dword [rsi + 0xb8]
mov edx, r12d
mov rcx, rsi
call fcn.1402095ec
mov dword [rax + 8], r9d
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret