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

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x18], rsi
mov qword [rax - 0x20], r15
mov r15, qword [rcx]
cmp byte [r15 + 0x50], 0
mov rsi, rcx
mov qword [rsp + 0x38], r15
jne 0x4d76a7
cmp byte [rcx + 0x1e], 0
jne 0x4d76a7
cmp dword [rcx + 0x4c], 0
jne 0x4d76a7
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
call fcn.00454b30
xor ebx, ebx
test rax, rax
mov rdi, rax
je 0x4d767e
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], r12
nop
movsxd rdx, dword [rdi + 0x3c]
mov rcx, qword [rdi + 0x30]
lea r12d, [rdx - 1]
cmp r12d, dword [rcx + 0x64]
jle 0x4d7265
mov rbp, qword [rdi + 8]
lea rcx, [rdx + rdx*2]
cmp byte [rbp + rcx*8 - 0x18], 0x3d
jne 0x4d7265
cmp r12d, edx
jge 0x4d7200
mov rcx, qword [rdi]
movsxd rax, r12d
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.00441fd0
xor r11d, r11d
mov qword [rbp + rbx*8], r11
mov qword [rbp + rbx*8 + 8], r11
mov qword [rbp + rbx*8 + 0x10], r11
mov byte [rbp + rbx*8], 0x9a
mov eax, dword [rdi + 0x3c]
dec eax
cmp r12d, eax
jne 0x4d7200
mov dword [rdi + 0x3c], eax
jmp 0x4d7200
mov edx, Ordinal_27
mov rcx, rdi
call fcn.00441ca0
cmp byte [r15 + 0x50], 0
jne 0x4d7634
cmp dword [rsi + 0x16c], 0
jne 0x4d7294
cmp qword [rsi + 0x150], 0
je 0x4d7634
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
je 0x4d72a2
mov rax, qword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
xor r12d, r12d
dec ecx
mov qword [rsp + 0x58], r13
mov ebp, r12d
mov dword [rax + 0x64], ecx
cmp dword [r15 + 0x28], r12d
lea ebx, [r12 + 1]
jle 0x4d736c
lea r13, [rsi + 0x170]
nop
test dword [rsi + 0x16c], ebx
je 0x4d7353
or dword [rdi + 0x94], ebx
cmp ebp, 1
je 0x4d72fb
mov rax, qword [rdi]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + r12 + 8]
cmp byte [rax + 0x11], 0
je 0x4d72fb
or dword [rdi + 0x98], ebx
mov rax, qword [r15 + 0x20]
test dword [rsi + 0x168], ebx
mov r9d, 0
mov rcx, qword [rax + r12 + 0x18]
mov r8d, ebp
mov edx, 4
mov eax, dword [rcx + 4]
setne r9b
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [r13]
mov dword [rsp + 0x20], eax
call fcn.0044f840
cmp byte [r15 + 0xa1], 0
jne 0x4d7353
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x4d7353
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
inc ebp
add r13, 4
add r12, 0x20
rol ebx, 1
cmp ebp, dword [r15 + 0x28]
jl 0x4d72d0
xor r12d, r12d
cmp dword [rsi + 0x1f4], 0
mov qword [rsp + 0x50], r14
mov r13d, r12d
jle 0x4d7477
mov r14, r12
nop
nop
nop
mov rax, qword [rsi + 0x268]
mov rcx, qword [rax + r14]
mov rbx, qword [rcx + 0x60]
test rbx, rbx
je 0x4d73b2
cmp qword [rbx], r15
je 0x4d73b2
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x4d73a4
mov rax, qword [rdi + 0x30]
movsxd rbp, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x4d73d7
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
je 0x4d73d7
mov ebp, 1
jmp 0x4d7405
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [rbp + rbp*2]
mov byte [rax + rcx*8], 0x90
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov r12, qword [rdi + 8]
mov rcx, qword [rdi]
test r12, r12
je 0x4d745d
cmp byte [rcx + 0x50], 0
jne 0x4d745d
test ebp, ebp
jns 0x4d7420
mov ebp, dword [rdi + 0x3c]
dec ebp
movsxd rax, ebp
lea rbp, [rax + rax*2]
movsx edx, byte [r12 + rbp*8 + 1]
mov r8, qword [r12 + rbp*8 + 0x10]
call fcn.00441fd0
xor eax, eax
test rbx, rbx
mov qword [r12 + rbp*8 + 0x10], rax
jne 0x4d744f
mov qword [r12 + rbp*8 + 0x10], rax
mov byte [r12 + rbp*8 + 1], al
jmp 0x4d745d
mov qword [r12 + rbp*8 + 0x10], rbx
mov byte [r12 + rbp*8 + 1], 0xf6
inc dword [rbx + 0x18]
inc r13d
add r14, 8
mov r12d, 0
cmp r13d, dword [rsi + 0x1f4]
jl 0x4d7390
mov rcx, rsi
mov dword [rsi + 0x1f4], r12d
call fcn.0045ae80
mov rcx, rsi
call fcn.00490780
mov r15, qword [rsi + 0x150]
test r15, r15
je 0x4d75d0
mov byte [rsi + 0x23], 0
cmp dword [r15], 0
mov r13d, r12d
jle 0x4d75d0
mov rbp, r12
nop
nop
nop
nop
mov rax, qword [r15 + 8]
mov rdx, qword [rax + rbp]
mov r12d, dword [rax + rbp + 0x20]
test rdx, rdx
je 0x4d753d
cmp byte [rdx], 0x9f
jne 0x4d753d
mov rbx, qword [rsi + 0x10]
mov eax, dword [rdx + 0x2c]
movsxd r14, dword [rbx + 0x3c]
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x60], r14d
jg 0x4d7505
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x4d75ae
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x30]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], r12d
xor r12d, r12d
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_33
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
jmp 0x4d75c0
mov r8d, r12d
mov rcx, rsi
call fcn.004d55b0
cmp eax, r12d
mov dword [rsp + 0x30], eax
je 0x4d75b8
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x4d75bd
mov rcx, qword [rbx + 0x30]
movsxd r14, dword [rbx + 0x3c]
cmp dword [rcx + 0x60], r14d
jg 0x4d7579
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x4d75b3
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x30]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], r12d
xor r12d, r12d
mov byte [rax + rcx*8], Ordinal_35
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
jmp 0x4d75c0
xor r12d, r12d
jmp 0x4d75c0
xor r12d, r12d
jmp 0x4d75c0
xor r12d, r12d
jmp 0x4d75c0
xor r12d, r12d
inc r13d
add rbp, 0x28
cmp r13d, dword [r15]
jl 0x4d74c0
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
mov r14, qword [rsp + 0x50]
cmp dword [rax + 0x60], ebx
mov r13, qword [rsp + 0x58]
jg 0x4d75f8
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x4d762f
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov r15, qword [rsp + 0x38]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recv
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
jmp 0x4d7634
mov r15, qword [rsp + 0x38]
cmp dword [rsi + 0x4c], 0
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
jne 0x4d767c
cmp byte [r15 + 0x50], 0
jne 0x4d767c
cmp qword [rsi + 0x1b8], 0
je 0x4d7662
cmp dword [rsi + 0x50], 0
jne 0x4d7662
mov dword [rsi + 0x50], 1
mov rdx, rsi
mov rcx, rdi
call fcn.004b20f0
mov dword [rsi + 0x18], 0x65
mov byte [rsi + 0x1c], 0
xor ebx, ebx
jmp 0x4d7685
xor ebx, ebx
mov dword [rsi + 0x18], 1
mov rdi, qword [rsp + 0x88]
mov dword [rsi + 0x50], ebx
mov dword [rsi + 0x54], ebx
mov dword [rsi + 0x58], ebx
mov dword [rsi + 0x1e8], ebx
mov dword [rsi + 0x16c], ebx
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x68
ret