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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rbx, qword [rcx + 0x10]
xor edi, edi
mov dword [rax + 8], edi
mov r12d, r9d
mov dword [rax - 0x38], edi
mov r14d, r8d
mov rbp, rdx
mov rsi, rcx
mov r13d, edi
test rbx, rbx
je 0x1400d7a8b
test rdx, rdx
je 0x1400d7a8b
movzx edx, byte [rdx]
mov qword [rax + 0x10], r15
mov r15d, edx
xor r15d, 1
lea eax, [rdx - 0x13]
cmp eax, 0x81
ja case.0x1400d768d.20
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0xd7ad4]
mov ecx, dword [r8 + rax*4 + 0xd7ab0]
add rcx, r8
jmp rcx
mov rdx, qword [rbp + 0x10]
mov r8d, r14d
mov rcx, rsi
call fcn.1400d7610
inc dword [rsi + 0x4c]
mov r9d, r12d
mov rdx, qword [rbp + 0x18]
mov r8d, r14d
mov rcx, rsi
call fcn.1400d7610
mov rcx, rsi
call fcn.1400d4990
jmp 0x1400d7a83
mov r15, qword [rbx + 0x18]
movsxd rdi, dword [r15 + 0x54]
lea eax, [rdi + 1]
mov dword [r15 + 0x54], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x1400d76f4
mov rdx, qword [r15 + 0x58]
lea eax, [rdi*2 + 1]
mov rcx, qword [r15]
movsxd r8, eax
shl r8, 2
call fcn.140097e80
mov qword [r15 + 0x58], rax
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x1400d7704
mov dword [rcx + rdi*4], 0xffffffff
mov rdx, qword [rbp + 0x10]
mov r9d, r12d
not edi
xor r9d, 0x10
mov r8d, edi
mov rcx, rsi
call fcn.1400d7090
inc dword [rsi + 0x4c]
mov r9d, r12d
mov rdx, qword [rbp + 0x18]
mov r8d, r14d
mov rcx, rsi
call fcn.1400d7610
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400d774c
mov eax, dword [rbx + 0xb8]
not edi
movsxd rcx, edi
mov dword [rdx + rcx*4], eax
mov rcx, rsi
call fcn.1400d4990
jmp 0x1400d7a83
mov rdx, qword [rbp + 0x10]
mov r8d, r14d
mov rcx, rsi
call fcn.1400d7090
jmp 0x1400d7a83
cmp dl, 0x1d
mov r15d, edi
mov r12d, 0x80
setne r15b
add r15d, 0x24
mov rdx, qword [rbp + 0x10]
movzx eax, byte [rdx]
cmp al, 0x9d
jne 0x1400d7790
movzx eax, byte [rdx + 0x36]
cmp al, 0x9e
jne 0x1400d779a
lea rax, [rdx + 0x20]
jmp 0x1400d77a2
cmp al, 0x77
jne 0x1400d77ae
mov rax, qword [rdx + 0x20]
mov rax, qword [rax]
cmp dword [rax], 1
jg case.0x1400d768d.20
lea r8, [rsp + 0x80]
mov rcx, rsi
call fcn.1400d68d0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rsi
mov ebx, eax
call fcn.1400d68d0
mov r8, qword [rbp + 0x18]
mov r9d, r15d
mov rdx, qword [rbp + 0x10]
mov rcx, rsi
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.1400ced70
mov r13d, dword [rsp + 0x40]
jmp 0x1400d7a07
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rsi
call fcn.1400d68d0
mov rdx, qword [rbx + 0x18]
mov r8d, eax
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rdx + 0x3c], ecx
jg 0x1400d783e
mov r9d, r14d
mov dword [rsp + 0x20], edi
mov edx, r15d
mov rcx, rbx
call fcn.1400b9830
jmp 0x1400d7a07
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], r15b
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov byte [rax + rcx*8 + 1], dil
jmp 0x1400d79fd
lea r9, [fcn.1400d7610]
mov dword [rsp + 0x20], r12d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call fcn.1400d6ee0
jmp 0x1400d7a83
test r12d, r12d
je 0x1400d78a5
mov r9d, r14d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call fcn.1400d31b0
jmp 0x1400d7a83
mov r15, qword [rbx + 0x18]
movsxd rdi, dword [r15 + 0x54]
lea eax, [rdi + 1]
mov dword [r15 + 0x54], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x1400d78d9
mov rdx, qword [r15 + 0x58]
lea eax, [rdi*2 + 1]
mov rcx, qword [r15]
movsxd r8, eax
shl r8, 2
call fcn.140097e80
mov qword [r15 + 0x58], rax
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x1400d78e9
mov dword [rcx + rdi*4], 0xffffffff
not edi
mov r8d, r14d
mov r9d, edi
mov rdx, rbp
mov rcx, rsi
call fcn.1400d31b0
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400d7a83
mov eax, dword [rbx + 0xb8]
not edi
movsxd rcx, edi
mov dword [rdx + rcx*4], eax
jmp 0x1400d7a83
mov rcx, rbp
call fcn.1400cfc10
test eax, eax
je 0x1400d7983
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d7957
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r14d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.1400b9830
jmp 0x1400d7a83
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov qword [rax + rcx*8], reloc.WSOCK32.dll_listen
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1400d7a83
mov rcx, rbp
call fcn.1400cfb80
test eax, eax
jne 0x1400d7a83
lea r8, [rsp + 0x80]
mov rdx, rbp
mov rcx, rsi
call fcn.1400d68d0
mov rcx, qword [rbx + 0x18]
test r12d, r12d
movsxd r8, dword [rbx + 0xb8]
mov edx, edi
setne dl
mov r10d, eax
cmp dword [rcx + 0x3c], r8d
jg 0x1400d79db
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov r8d, eax
mov rcx, rbx
call fcn.1400b9830
jmp 0x1400d7a07
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_22
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 8], r14d
mov edx, dword [rsp + 0x80]
test edx, edx
je 0x1400d7a4b
movzx r9d, byte [rsi + 0x1f]
cmp r9b, 8
jae 0x1400d7a4b
movzx r8d, byte [rsi + 0x25]
lea rax, [rsi + 0xc4]
mov ecx, edi
test r8d, r8d
je 0x1400d7a40
cmp dword [rax + 0xc], edx
je 0x1400d7aa4
inc ecx
add rax, 0x14
cmp ecx, r8d
jl 0x1400d7a30
mov dword [rsi + r9*4 + 0x18c], edx
inc byte [rsi + 0x1f]
test r13d, r13d
je 0x1400d7a83
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x1400d7a83
movzx ecx, byte [rsi + 0x25]
lea rax, [rsi + 0xc4]
test ecx, ecx
je 0x1400d7a78
cmp dword [rax + 0xc], r13d
je 0x1400d7aaa
inc edi
add rax, 0x14
cmp edi, ecx
jl 0x1400d7a68
mov dword [rsi + rdx*4 + 0x18c], r13d
inc byte [rsi + 0x1f]
mov r15, qword [rsp + 0x88]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov byte [rax + 6], 1
jmp 0x1400d7a4b
mov byte [rax + 6], 1
jmp 0x1400d7a83