Function at 0x140095790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
sub rsp, 0x58
cmp dword [rdx + 0x10], 0
mov rbp, rdx
mov rbx, rcx
jne 0x140095b75
xor r8d, r8d
mov r9d, r8d
cmp byte [rcx + 0x25], r8b
jbe 0x1400957ec
lea rdx, [rcx + 0xd0]
nop
cmp byte [rdx - 6], r8b
je 0x1400957dc
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400957dc
mov ecx, eax
mov eax, dword [rdx]
mov dword [rbx + rcx*4 + 0x18c], eax
inc byte [rbx + 0x1f]
movzx eax, byte [rbx + 0x25]
inc r9d
add rdx, 0x14
cmp r9d, eax
jl 0x1400957c0
mov byte [rbx + 0x25], r8b
cmp qword [rbp + 0x58], r8
je 0x140095b75
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x38]
inc r15d
mov dword [rbx + 0x38], r15d
mov dword [rbp + 0x10], r15d
mov rdi, qword [rbx + 0x10]
test rdi, rdi
jne 0x14009582f
mov rcx, rbx
call fcn.1400956f0
mov rdi, rax
xor r8d, r8d
mov r13, qword [rbp + 0x58]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
test dword [r13 + 4], 0x400
mov dword [rsp + 0x78], r8d
je 0x140095865
mov esi, dword [r13 + 8]
lea r12, [rdi + 0xb8]
mov r14, r12
lea rax, [rdi + 0x18]
jmp 0x1400958b7
movzx ecx, byte [r13]
sub ecx, 0x9b
je 0x1400958e7
cmp ecx, 1
jne 0x14009588c
mov rcx, qword [r13 + 0x10]
lea rdx, [rsp + 0x88]
call fcn.14005d6c0
mov dword [rsp + 0x78], eax
mov esi, dword [rsp + 0x88]
cmp dword [rsp + 0x78], 0
lea r12, [rdi + 0xb8]
lea rax, [rdi + 0x18]
mov r14, r12
mov qword [rsp + 0x88], rax
je 0x1400959b5
xor r8d, r8d
movsxd rcx, dword [r12]
mov r13, rax
mov rax, qword [rax]
cmp dword [rax + 0x3c], ecx
jg 0x14009590f
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov r8d, esi
mov edx, Ordinal_79
mov rcx, rdi
call fcn.140042d70
xor r8d, r8d
lea r12, [rdi + 0x68]
jmp 0x14009593f
mov rcx, qword [r13 + 0x10]
lea rdx, [rsp + 0x88]
call fcn.14005d6c0
test eax, eax
je 0x14009588c
mov esi, dword [rsp + 0x88]
neg esi
mov dword [rsp + 0x78], 1
jmp 0x140095893
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
lea r12, [rdi + 0x68]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
test esi, esi
jne 0x14009598d
mov rax, qword [r13]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x14009596f
mov r9d, dword [rsp + 0x80]
lea edx, [rsi + 0xd]
mov dword [rsp + 0x20], r8d
mov rcx, rdi
xor r8d, r8d
call fcn.140042d70
jmp 0x140095a89
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov dword [rax + rcx*8 + 4], r8d
jmp 0x140095a6f
js 0x140095a89
movsxd rcx, esi
call fcn.1400223f0
cmp word [rbp + 0xa], ax
jle 0x140095a89
or dword [rbp + 0xc], 0x4000
mov word [rbp + 0xa], ax
jmp 0x140095a89
mov r8d, r15d
mov rdx, r13
mov rcx, rbx
call fcn.140062f80
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x1400959f3
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x11]
call fcn.140042d70
xor r8d, r8d
lea r12, [rdi + 0x68]
jmp 0x140095a23
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [r12], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
lea r12, [rdi + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov r13, qword [rsp + 0x88]
movsxd rcx, dword [r14]
mov rax, qword [r13]
cmp dword [rax + 0x3c], ecx
jg 0x140095a56
mov r9d, dword [rsp + 0x80]
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov dword [rsp + 0x20], r8d
mov rcx, rdi
mov r8d, r15d
call fcn.140042d70
jmp 0x140095a89
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_22
mov dword [rax + rcx*8 + 4], r15d
mov edx, dword [rsp + 0x80]
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
cmp qword [rbp + 0x60], 0
je 0x140095b57
inc dword [rbx + 0x38]
mov rcx, rbx
mov esi, dword [rbx + 0x38]
mov r8d, esi
mov dword [rbp + 0x14], esi
inc dword [rbx + 0x38]
mov rdx, qword [rbp + 0x60]
call fcn.140062f80
mov rax, qword [r13]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140095ada
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, esi
mov rcx, rdi
lea edx, [r9 + 0x11]
call fcn.140042d70
xor r8d, r8d
jmp 0x140095b04
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov word [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [r13]
lea edx, [rsi + 1]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140095b2c
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x92
mov r8d, r15d
mov rcx, rdi
call fcn.140042d70
jmp 0x140095b57
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov word [rax + rcx*8], __WSAFDIsSet
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r8
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
add rsp, 0x58
pop rbp
pop rbx
ret