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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 0xc]
call 0x4da928
pop ecx
mov esi, dword [eax]
cmp dword [esi + 8], 0
jne 0x4dada1
mov dword [esi + 8], 0xffffffff
mov dword [esp + 0x60], ecx
movzx ebx, word [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x48]
movzx eax, word [esi + 0x3e]
mov edi, dword [esi + 0x44]
mov word [esi + 0x3c], 4
cmp bx, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
je 0x4dadc4
lea edx, [ebx - 2]
mov ecx, 2
cmp dx, 2
cmovb ecx, edx
lea edx, [esi + 0xc]
mov dword [esp + 8], edx
test cx, cx
lea edx, [esi + 0x3c]
mov dword [esp + 4], edx
je 0x4daa04
movzx ecx, cx
cmp ecx, 1
jne 0x4daa4a
mov ebx, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004dae4e
add esp, 8
lea eax, [esp + 0x3c]
cmp word [eax + 4], 2
jne 0x4dab07
movsd xmm0, qword [esp + 0x44]
mov ecx, dword [esp + 4]
movsd qword [esp + 8], xmm0
call fcn.004dae04
mov eax, dword [esp + 0x14]
mov word [esi + 0x3c], 3
movsd xmm0, qword [esp + 8]
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x44], ebx
movsd qword [edi], xmm0
jmp 0x4dad13
mov edi, dword [esp + 4]
mov ecx, edi
call fcn.004dae04
mov ebx, dword [esp + 8]
mov word [edi], 2
lea edi, [esp + 0x3c]
mov ecx, edi
mov edx, ebx
push 1
call fcn.004c5705
add esp, 4
cmp dword [edi], 0
je 0x4dac07
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov edi, eax
mov dword [eax], edx
jmp 0x4dad13
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov word [esp + 0x64], bx
mov word [esp + 0x66], ax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edx
lea ecx, [esi + 0x4c]
mov edx, dword [esp + 8]
lea edi, [esp + 0x3c]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov ecx, edi
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x7c], xmm1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004dae4e
add esp, 8
cmp word [edi + 4], 2
jne 0x4dab67
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edi, dword [ebp + 8]
cmp cl, 4
je 0x4dad0d
mov ebx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 8], eax
mov ecx, ebx
call fcn.004dae04
movsd xmm0, qword [esp + 0x7c]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp + 0x74]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x6c]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov dword [edi + 4], eax
mov dword [edi], ecx
jmp 0x4dad13
lea ebx, [esp + 0x40]
mov edi, dword [esp + 4]
mov eax, dword [ebx - 4]
mov ecx, edi
mov dword [esp + 8], eax
call fcn.004dae04
movsd xmm0, qword [ebx + 0x18]
mov ecx, dword [esp + 0x14]
movsd qword [edi + 0x18], xmm0
movsd xmm0, qword [ebx + 0x10]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
call fcn.004d75bc
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x1c]
mov byte [edi], 4
call fcn.004d2643
jmp 0x4dad13
lea eax, [esp + 0x40]
mov edi, dword [ebp + 8]
movq xmm0, qword [eax]
mov ecx, dword [eax - 4]
movq xmm1, qword [eax + 8]
movsd xmm3, qword [eax + 0x18]
movsd xmm2, qword [eax + 0x10]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 8], ecx
movsd qword [esp + 0x34], xmm3
movsd qword [esp + 0x2c], xmm2
movq qword [esp + 0x24], xmm1
cmp word [esp + 0x1c], bx
jne 0x4dac8f
test bx, bx
je 0x4dac77
movdqu xmm0, xmmword [esp + 0x20]
movdqu xmm1, xmmword [esp + 0x68]
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x4dac8f
movzx eax, word [esp + 0x80]
cmp word [esp + 0x38], ax
jne 0x4dac8f
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x78]
jne 0x4dac8f
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x7c]
jne 0x4dac8f
jmp 0x4dacd3
cmp dword [esp + 0x40], 0
je 0x4dac23
mov edi, dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi], 0xd01
jmp 0x4dad13
cmp dword [ebx], 0
je 0x4daddd
lea edi, [esp + 0x3c]
lea edx, [esi + 0x10]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004713c7
add esp, 8
cmp word [edi + 4], 2
jne 0x4dad20
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
cmp dl, 4
je 0x4dad24
mov ecx, dword [esp + 0x60]
movzx eax, dl
add ecx, dword [eax*4 + 0x4dadf4]
jmp ecx
mov eax, dword [esp + 0x1e]
cmp eax, dword [esp + 0x66]
jne 0x4dac8f
mov eax, dword [esp + 0x14]
shr eax, 0x10
cmp word [esp + 0x22], ax
je 0x4dacd3
mov eax, dword [0x5c91e4]
cmp eax, 2
jb 0x4dacd3
lea ecx, [esp + 0x84]
xor eax, eax
mov edx, 2
mov dword [ecx], str.New_client_for_the_same_listening_UDP_socket
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0x1b1
push 0x59913c
call fcn.0046a714
add esp, 8
mov ebx, dword [esp + 4]
mov ecx, ebx
call fcn.004dae04
movsd xmm0, qword [esp + 0x34]
mov eax, dword [esp + 8]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x24]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov dword [edi + 4], eax
mov byte [edi], 4
inc dword [esi + 8]
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov edi, eax
mov byte [eax], 4
jmp 0x4dad13
lea eax, [esp + 0x3c]
mov ecx, 0x5946db
mov edx, 0x10
push 0x5992cc
push 0x5947dc
push eax
call fcn.00447310
add esp, 0xc
ud2
mov ecx, str.Assertion_failed_193912
mov edx, 0x17
push 0x5992f4
call fcn.00448d20
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
mov edx, 0x2b
push 0x56e9dc
call fcn.00445340
jmp 0x4dadd8