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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov rax, rsp
sub rsp, 0x98
mov qword [rax - 8], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov rdi, qword [rcx + 0x10]
mov qword [rax - 0x28], r12
mov rbp, qword [rdi + 0x30]
mov qword [rax - 0x40], r15
mov eax, dword [rdi + 0x3c]
movsxd rsi, dword [rbp + 0x78]
mov dword [rsp + 0x40], eax
mov r15, r9
lea eax, [rsi + 1]
mov r12, r8
mov rbx, rcx
mov dword [rbp + 0x78], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x455147
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp]
lea eax, [rsi + rsi + 1]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x80]
mov edx, 0xffffffff
test rcx, rcx
je 0x45515b
mov dword [rcx + rsi*4], edx
mov ebp, edx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
sub ebp, esi
mov esi, dword [rsp + 0xc8]
xor r14d, r14d
test esi, esi
mov dword [rsp + 0xa0], ebp
je 0x455413
mov rax, qword [rdi + 0x30]
movsxd r15, dword [rdi + 0x3c]
cmp dword [rax + 0x60], r15d
jg 0x4551a6
lea edx, [r14 + 1]
mov rcx, rdi
call fcn.00441a80
test eax, eax
je 0x4551a6
lea r15d, [r14 + 1]
jmp 0x4551d2
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [r15 + r15*2]
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_46
mov byte [rax + rcx*8 + 3], r14b
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
je 0x4551e1
inc dword [rsi]
mov rax, qword [rdi + 0x30]
movsxd r14, dword [rdi + 0x3c]
mov ebp, dword [r12 + 8]
cmp dword [rax + 0x60], r14d
mov r13d, dword [r12 + 0xc]
jg 0x455212
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
je 0x455212
mov r14d, 1
jmp 0x45524a
inc dword [rdi + 0x3c]
mov rcx, qword [rdi + 8]
mov eax, dword [rsp + 0xc8]
lea rdx, [r14 + r14*2]
inc eax
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8], 0x2a
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], ebp
mov dword [rcx + rdx*8 + 0xc], r13d
mov qword [rcx + rdx*8 + 0x10], 0
mov byte [rcx + rdx*8 + 1], 0
mov rbp, qword [rdi + 8]
mov rcx, qword [rdi]
mov eax, r14d
test rbp, rbp
je 0x4552b0
cmp byte [rcx + 0x50], 0
jne 0x4552b0
test r14d, r14d
jns 0x455269
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea r13, [rax + rax*2]
movsx edx, byte [rbp + r13*8 + 1]
mov r8, qword [rbp + r13*8 + 0x10]
call fcn.00441fd0
xor eax, eax
test rsi, rsi
mov qword [rbp + r13*8 + 0x10], rax
jne 0x455297
mov qword [rbp + r13*8 + 0x10], rax
mov byte [rbp + r13*8 + 1], al
jmp 0x4552bd
mov qword [rbp + r13*8 + 0x10], rsi
mov byte [rbp + r13*8 + 1], 0xfa
jmp 0x4552bd
mov r8, rsi
mov edx, 0xfffffffa
call fcn.00441fd0
mov rax, qword [rdi + 0x30]
movsxd rsi, dword [rdi + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x4552db
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x455317
inc dword [rdi + 0x3c]
mov rcx, qword [rdi + 8]
mov r8d, dword [rsp + 0xa0]
lea rdx, [rsi + rsi*2]
lea eax, [r14 + 2]
xor r14d, r14d
mov byte [rcx + rdx*8], Ordinal_46
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], eax
mov dword [rcx + rdx*8 + 8], r8d
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], r14
mov byte [rcx + rdx*8 + 1], r14b
jmp 0x45531a
xor r14d, r14d
mov edx, dword [rdi + 0x3c]
cmp edx, r15d
jbe 0x455331
mov eax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov esi, dword [r12 + 0xc]
mov rax, qword [rdi + 0x30]
movsxd rbp, dword [rdi + 0x3c]
mov r13d, dword [r12 + 8]
dec esi
cmp dword [rax + 0x60], ebp
jg 0x455367
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x45539f
mov rcx, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rdx, [rbp + rbp*2]
mov ebp, dword [rsp + 0xc8]
mov byte [rcx + rdx*8], reloc.WLDAP32.dll_Ordinal_33
mov byte [rcx + rdx*8 + 3], 0
lea eax, [rbp + 1]
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 0xc], esi
mov qword [rcx + rdx*8 + 0x10], r14
mov byte [rcx + rdx*8 + 1], 0
mov dword [rcx + rdx*8 + 8], eax
jmp 0x4553a6
mov ebp, dword [rsp + 0xc8]
mov rax, qword [rdi + 0x30]
movsxd rsi, dword [rdi + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x4553c4
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x455404
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov r15, qword [rsp + 0xb8]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], ebp
mov ebp, dword [rsp + 0xa0]
mov byte [rax + rcx*8], Ordinal_27
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
jmp 0x455413
mov r15, qword [rsp + 0xb8]
mov ebp, dword [rsp + 0xa0]
mov rax, qword [rbx]
cmp byte [rax + 0x50], 0
je 0x455423
xor eax, eax
jmp 0x455952
mov r13, qword [rsp + 0xa8]
mov r8d, ebp
mov rcx, rdi
mov edx, dword [r13 + 0x10]
call fcn.00449800
movzx r11d, byte [r15]
sub r11d, 0xa
je 0x455820
dec r11d
je 0x45571c
dec r11d
je 0x455542
dec r11d
je 0x4554d9
dec r11d
je 0x455542
mov r9d, dword [r12 + 0xc]
mov r8d, dword [r12 + 8]
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rdi
call fcn.00441dd0
mov r11d, dword [r12 + 8]
mov eax, dword [r12 + 0xc]
lea r9d, [r11 + rax - 1]
lea rcx, [rbx + 0x94]
mov r8d, 0xa
nop
nop
mov edx, dword [rcx]
cmp edx, r11d
jl 0x4554cb
cmp edx, r9d
jg 0x4554cb
cmp byte [rcx - 6], 0
je 0x4554c8
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x4554c4
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r14d
add rcx, 0x14
dec r8
jne 0x4554a0
jmp 0x45585b
cmp dword [r15 + 8], 0
jne 0x455517
mov ecx, dword [r12 + 0xc]
mov edx, dword [rbx + 0x44]
mov r8d, dword [rbx + 0x48]
cmp ecx, edx
jg 0x4554fe
lea eax, [rcx + r8]
sub edx, ecx
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], edx
jmp 0x45550a
mov eax, dword [rbx + 0x54]
lea r8d, [rax + 1]
add eax, ecx
mov dword [rbx + 0x54], eax
mov dword [r15 + 8], r8d
mov eax, dword [r12 + 0xc]
mov dword [r15 + 0xc], eax
mov r9d, dword [r15 + 0xc]
mov r8d, dword [r15 + 8]
mov edx, dword [r12 + 8]
mov rcx, rbx
call fcn.004460a0
mov r8d, dword [r15 + 4]
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rdi
call fcn.00441d40
jmp 0x45585b
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x455552
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x45555e
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x24]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x45556e
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x45557a
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0x24]
mov r13d, dword [r12 + 8]
mov r14d, dword [r12 + 0xc]
mov rax, qword [rdi + 0x30]
movsxd r12, dword [rdi + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x4555a3
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x4555d4
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], r14d
xor r14d, r14d
mov byte [rax + rcx*8], gethostbyaddr
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
jmp 0x4555d7
xor r14d, r14d
mov rax, qword [rdi + 0x30]
movsxd r12, dword [rdi + 0x3c]
mov r13d, dword [r15 + 4]
cmp dword [rax + 0x60], r12d
jg 0x4555fa
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x455626
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [r12 + r12*2]
mov byte [rax + rcx*8], 0x4a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rdi + 0x30]
movsxd r12, dword [rdi + 0x3c]
mov r13d, dword [r15 + 4]
cmp dword [rax + 0x60], r12d
jg 0x455649
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x455674
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [r12 + r12*2]
mov byte [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x45568a
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test esi, esi
je 0x4556bb
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x4556bb
mov ecx, r14d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], esi
je 0x455706
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x4556a1
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], esi
inc byte [rbx + 0x1f]
test ebp, ebp
je 0x45584b
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x455854
mov ecx, r14d
lea rax, [rbx + 0x88]
nop
nop
cmp dword [rax + 0xc], ebp
je 0x45570c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x4556e0
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], ebp
inc byte [rbx + 0x1f]
mov ebp, dword [rsp + 0xa0]
jmp 0x45585b
mov byte [rax + 6], 1
jmp 0x4556bb
mov ebp, dword [rsp + 0xa0]
mov byte [rax + 6], 1
jmp 0x45585b
mov rax, qword [r13]
movzx edx, byte [r15 + 1]
lea rsi, [r15 + 1]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.00450e00
mov byte [rsi], al
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x455747
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x455753
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x24]
mov r8d, dword [r12 + 8]
mov r9d, 1
mov dword [rsp + 0x30], 1
lea edx, [r9 + 0x30]
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
call fcn.0044f620
mov r11d, dword [r12 + 8]
lea rsi, [rbx + 0x88]
mov r8d, 0xa
lea rcx, [rsi + 0xc]
mov edx, dword [rcx]
cmp edx, r11d
jl 0x4557bc
cmp edx, r11d
jg 0x4557bc
cmp byte [rcx - 6], 0
je 0x4557b9
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x4557b5
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r14d
add rcx, 0x14
dec r8
jne 0x455791
mov r8d, dword [r15 + 4]
mov r9d, ebp
mov edx, WSAGetLastError
mov rcx, rdi
call fcn.00441dd0
test ebp, ebp
je 0x455839
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x455842
mov eax, r14d
nop
nop
cmp dword [rsi + 0xc], ebp
je 0x455813
inc eax
add rsi, 0x14
cmp eax, 0xa
jl 0x4557f0
movzx eax, cl
mov dword [rbx + rax*4 + 0x24], ebp
inc byte [rbx + 0x1f]
mov ebp, dword [rsp + 0xa0]
jmp 0x45585b
mov ebp, dword [rsp + 0xa0]
mov byte [rsi + 6], 1
jmp 0x45585b
mov r8d, dword [r15 + 4]
mov edx, dword [r12 + 8]
mov r9d, 1
mov rcx, rbx
call fcn.004460a0
jmp 0x45585b
mov ebp, dword [rsp + 0xa0]
jmp 0x45585b
mov ebp, dword [rsp + 0xa0]
jmp 0x45585b
mov ebp, dword [rsp + 0xa0]
jmp 0x45585b
mov ebp, dword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov ebx, dword [rax + 0xc]
test ebx, ebx
je 0x4558cb
mov rax, qword [rdi + 0x30]
movsxd rsi, dword [rdi + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x455888
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x4558c2
inc dword [rdi + 0x3c]
mov rcx, qword [rdi + 8]
mov eax, dword [rsp + 0xd8]
lea rdx, [rsi + rsi*2]
xor esi, esi
mov dword [rcx + rdx*8 + 8], eax
mov eax, 0xffffffff
mov byte [rcx + rdx*8], 0x8b
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], ebx
mov qword [rcx + rdx*8 + 0x10], rsi
mov dword [rcx + rdx*8 + 0xc], eax
mov byte [rcx + rdx*8 + 1], sil
jmp 0x4558d2
mov eax, 0xffffffff
xor esi, esi
jmp 0x4558d2
mov eax, 0xffffffff
xor esi, esi
sub eax, ebp
mov r9, qword [rdi + 0x30]
js 0x4558f0
mov r8, qword [r9 + 0x80]
test r8, r8
je 0x4558f0
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [r9 + 0x64], eax
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x455917
mov edx, 1
mov rcx, rdi
call fcn.00441a80
test eax, eax
jne 0x45594e
mov rdx, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov ecx, dword [rsp + 0xc0]
lea r8, [rbx + rbx*2]
mov byte [rdx + r8*8], reloc.WS2_32.dll_select
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 4], ecx
mov dword [rdx + r8*8 + 8], esi
mov dword [rdx + r8*8 + 0xc], esi
mov qword [rdx + r8*8 + 0x10], rsi
mov byte [rdx + r8*8 + 1], 0
mov eax, dword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
add rsp, 0x98
ret