Function at 0x1400915b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx]
mov r15, rcx
movzx esi, byte [rdx + 0x20]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
not esi
mov ecx, dword [rcx + 0x38]
and esi, 1
mov edx, dword [rax]
inc ecx
mov r13d, dword [rsp + 0xb0]
mov r12d, r9d
mov dword [r15 + 0x38], ecx
mov eax, dword [rdi + 8]
lea ebp, [rdx + rsi]
mov dword [rsp + 0x80], edx
add ebp, dword [rsp + 0xa8]
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x30], eax
test r13d, r13d
je 0x14009161f
mov r14d, r9d
sub r14d, edx
sub r14d, esi
jmp 0x14009162a
lea eax, [rcx + rbp]
mov dword [r15 + 0x38], eax
lea r14d, [rcx + 1]
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x140091636
inc eax
jmp 0x14009163a
mov eax, dword [r8 + 0x10]
mov rcx, rbx
mov dword [rsp + 0x90], eax
call fcn.140043430
mov r9d, dword [rsp + 0xa0]
mov r8d, r14d
mov rdx, qword [rdi]
mov rcx, r15
mov dword [rdi + 0x1c], eax
mov byte [rsp + 0x20], 5
call fcn.140063070
xor r9d, r9d
test esi, esi
je 0x1400916d2
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x80]
movsxd rcx, dword [rbx + 0xb8]
add edx, r14d
mov r8d, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x1400916a3
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, WSACleanup
call fcn.140042d70
jmp 0x1400916d2
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSACleanup
mov byte [rax + rcx*8 + 3], r9b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov eax, dword [rsp + 0x80]
add eax, r14d
test r13d, r13d
jne 0x1400916f8
mov r9d, dword [rsp + 0xa8]
lea r8d, [rax + rsi]
mov edx, r12d
mov rcx, r15
call fcn.140061110
mov r12d, dword [rsp + 0x30]
sub ebp, r12d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
lea edx, [r14 + r12]
cmp dword [rax + 0x3c], ecx
jg 0x140091737
mov eax, dword [rsp + 0x88]
mov r8d, edx
mov edx, 0x63
mov dword [rsp + 0x20], eax
mov r9d, ebp
mov rcx, rbx
call fcn.140042d70
xor r9d, r9d
jmp 0x14009176e
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x88]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebp
mov qword [rax + rcx*8 + 0x10], r9
lea r13, [0x1401bac90]
test r12d, r12d
jle 0x140091b7c
mov ecx, dword [r15 + 0x38]
mov r10d, dword [rsp + 0x80]
mov r12d, r10d
lea r8d, [rcx + 1]
add ecx, dword [rdi + 8]
mov dword [r15 + 0x38], ecx
sub r12d, dword [rdi + 8]
movsxd rbp, dword [rbx + 0xb8]
add r12d, esi
mov rax, qword [rbx + 0x18]
mov dword [rsp + 0xb0], r8d
test esi, esi
je 0x1400917ea
cmp dword [rax + 0x3c], ebp
jg 0x1400917c6
lea r8d, [r14 + r10]
mov edx, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400917fa
lea eax, [rbp + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x68]
lea edx, [r14 + r10]
add rcx, rbp
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_22
jmp 0x140091837
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ebp
jg 0x140091819
mov r8d, edx
mov edx, WSASetLastError
mov dword [rsp + 0x20], r9d
mov rcx, rbx
xor r9d, r9d
call fcn.140042d70
mov r8d, dword [rsp + 0xb0]
mov ebp, eax
xor r9d, r9d
jmp 0x14009184e
lea eax, [rbp + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x68]
add rcx, rbp
mov word [rax + rcx*8], WSASetLastError
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], 0
mov dword [rax + rcx*8 + 4], edx
mov byte [rax + rcx*8 + 3], 0
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 8]
cmp dword [rax + 0x3c], ecx
jg 0x140091877
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x5f
mov rcx, rbx
call fcn.140042d70
jmp 0x1400918a6
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x5f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov ecx, dword [rdi + 0x18]
test ecx, ecx
jns 0x1400918b5
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x1400918cd
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r13, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x55], 0
jne 0x140091e34
mov rsi, qword [r13 + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xa8]
add eax, r12d
mov dword [r13 + 8], eax
movzx r8d, word [rsi + 6]
mov rcx, qword [rsi + 0x18]
call fcn.140133600
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140091914
mov r8, rsi
mov edx, 0xfffffffa
call fcn.140043b20
jmp 0x14009194d
movsxd rax, dword [rbx + 0xb8]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x140091945
mov r9d, 0xfffffffa
mov r8, rsi
mov rcx, rbx
call fcn.140043e40
jmp 0x14009194d
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], 0xfa
movzx r9d, word [rsi + 8]
mov rcx, r15
mov r8d, dword [rsp + 0x30]
dec r9d
mov rdx, qword [rdi]
call fcn.140093490
mov qword [r13 + 0x10], rax
movsxd rsi, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
lea edx, [rsi + 1]
cmp dword [rax + 0x3c], esi
jg 0x140091997
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x12]
call fcn.140042d70
xor r13d, r13d
jmp 0x1400919c5
mov rax, qword [rbx + 0x68]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0xb8], edx
xor r13d, r13d
mov word [rax + rcx*8], reloc.WS2_32.dll_select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r13
mov rcx, rbx
call fcn.140043430
mov dword [rdi + 0x14], eax
inc dword [r15 + 0x38]
mov edx, dword [r15 + 0x38]
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x10], edx
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140091a09
mov r9d, r8d
mov dword [rsp + 0x20], r13d
mov r8d, edx
mov rcx, rbx
mov edx, recv
call fcn.140042d70
jmp 0x140091a38
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], send
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140091a65
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x85
xor r9d, r9d
mov rcx, rbx
call fcn.140042d70
jmp 0x140091a93
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x85
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r13
mov r12d, dword [rsp + 0x90]
test r12d, r12d
je 0x140091afe
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x140091ace
mov r9d, r8d
mov dword [rsp + 0x20], r13d
mov r8d, r12d
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.140042d70
jmp 0x140091afe
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_22
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx]
lea r13, [0x1401bac90]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x140091b19
mov rax, r13
jmp 0x140091b2f
lea eax, [rdx - 1]
test ebp, ebp
cmovns eax, ebp
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xb0]
mov rcx, r15
mov dword [rax + 8], edx
mov edx, r14d
mov r9d, dword [rdi + 8]
call fcn.140061110
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x140091b60
mov rax, r13
mov dword [rax + 8], edx
jmp 0x140091b84
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x140091b84
mov r12d, dword [rsp + 0x90]
movzx eax, byte [rdi + 0x20]
xor ebp, ebp
movsxd rcx, dword [rbx + 0xb8]
not al
mov r8d, dword [rdi + 0xc]
and eax, 1
lea edx, [rax + 0x7d]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x140091bbc
mov r9d, dword [rsp + 0x88]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140042d70
jmp 0x140091bf3
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
mov edx, dword [rsp + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
test r12d, r12d
je 0x140091e34
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x140091c2d
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, r12d
mov rcx, rbx
lea edx, [r9 + 0x43]
call fcn.140042d70
mov esi, eax
xor r12d, r12d
jmp 0x140091c63
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], r12d
xor r12d, r12d
mov dword [rax + rcx*8 + 8], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov word [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], 1
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140091c8f
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x35]
call fcn.140042d70
jmp 0x140091cbd
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], gethostname
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
cmp byte [rdi + 0x21], 0
je 0x140091d2f
inc dword [r15 + 0x38]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov ebp, dword [r15 + 0x38]
mov edx, dword [rdi + 0xc]
mov r15d, dword [rsp + 0x80]
cmp dword [rax + 0x3c], ecx
jg 0x140091cff
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x60
mov r9d, r15d
mov rcx, rbx
call fcn.140042d70
jmp 0x140091d37
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r12
jmp 0x140091d37
mov r15d, dword [rsp + 0x80]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140091d63
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x75]
call fcn.140042d70
jmp 0x140091d91
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x75
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
cmp byte [rdi + 0x21], 0
je 0x140091e0a
movsxd rcx, dword [rbx + 0xb8]
lea r8d, [r14 + r15]
mov rax, qword [rbx + 0x18]
lea edx, [rcx + 2]
cmp dword [rax + 0x3c], ecx
jg 0x140091dc4
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, Ordinal_41
mov rcx, rbx
call fcn.140042d70
jmp 0x140091df2
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r12
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x140091e0a
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x80
mov edx, dword [rbx + 0xb8]
test esi, esi
mov rax, qword [rbx]
lea ecx, [rdx - 1]
cmovns ecx, esi
cmp byte [rax + 0x55], 0
jne 0x140091e30
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r13, [rax + rcx*8]
mov dword [r13 + 8], edx
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret