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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xf4
mov ebx, dword [esp + 0x10c]
movzx eax, byte [ebx]
lea edi, [ebx + 1]
test al, 1
je 0x4019f3
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
jmp 0x4019f7
shr eax, 1
mov ecx, edi
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe4], str.tcp:
mov dword [esp + 0xe8], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xf4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp], xmm0
call fcn.0042b080
add esp, 0x10
movzx ecx, byte [ebx]
mov ebp, edi
test cl, 1
je 0x401a50
mov ebp, dword [ebx + 8]
xor esi, esi
test al, al
jne 0x401ac5
test cl, 1
je 0x401a60
mov ecx, dword [ebx + 4]
jmp 0x401a62
shr ecx, 1
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd4], str.udp:
mov dword [esp + 0xd8], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xe4]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xec]
movsd qword [esp], xmm0
call fcn.0042b080
add esp, 0x10
test al, al
je 0x401d02
test byte [ebx], 1
je 0x401abe
mov edi, dword [ebx + 8]
mov esi, 1
mov ebp, edi
add ebp, 4
mov dword [esp + 0x1c], 0x15b2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x402012
mov ebx, eax
cmp eax, 0xb
jae 0x401b43
mov eax, ebx
add al, bl
mov byte [esp + 0x3c], al
lea edi, [esp + 0x3d]
test ebx, ebx
jne 0x401b6f
jmp 0x401b7a
mov dword [esp + 0x20], esi
mov esi, ebx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
call fcn.00420cd0
add esp, 4
mov edi, eax
mov dword [esp + 0x44], eax
add ebx, 2
mov dword [esp + 0x3c], ebx
mov ebx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
push ebx
push ebp
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x24]
lea edx, [esp + 0x3c]
push eax
push 0
push ecx
push edi
push edx
call fcn.0042c3e0
add esp, 0x14
mov ebx, eax
test byte [esp + 0x3c], 1
je 0x401bb1
push dword [esp + 0x44]
call fcn.00420e70
add esp, 4
test bl, bl
je 0x401c00
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x40]
push edi
call fcn.00424040
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x108]
mov dword [edi], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [edi + 4], xmm0
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
test byte [esp + 0x24], 1
jne 0x401eb4
jmp 0x401ec0
lea ecx, [esp + 0x7c]
lea ebx, [esp + 0x44]
mov dword [esp + 0x44], 0x583b58
lea esi, [esp + 0x48]
mov dword [esp + 0x3c], 0x583d14
mov dword [esp + 0x7c], 0x583d28
mov dword [esp + 0x40], 0
push esi
call fcn.0042d4f0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x3c], 0x583b44
mov dword [esp + 0x7c], 0x583b6c
mov dword [esp + 0x44], 0x583b58
mov ecx, esi
call fcn.0042db40
mov dword [esp + 0x48], 0x583db4
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], 0x18
mov dword [esp + 0xcc], 2
mov byte [esp + 0xd0], 1
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
mov edi, dword [eax]
push 0x19
push str.invalid_network_address_
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
call esi
mov edi, dword [eax]
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push ebp
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
call esi
mov edi, dword [eax]
push 3
push 0x580661
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
call esi
mov ebp, dword [eax]
movzx eax, byte [esp + 0x10]
test al, 1
je 0x401dcc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x401dd2
lea ecx, [esp + 0x7c]
mov dword [esp + 0x44], 0x583b58
lea esi, [esp + 0x48]
mov dword [esp + 0x3c], 0x583d14
mov dword [esp + 0x7c], 0x583d28
mov dword [esp + 0x40], 0
push esi
call fcn.0042d4f0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x3c], 0x583b44
mov dword [esp + 0x7c], 0x583b6c
mov dword [esp + 0x44], 0x583b58
mov ecx, esi
call fcn.0042db40
mov dword [esp + 0x48], 0x583db4
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], 0x18
mov dword [esp + 0xcc], 1
mov byte [esp + 0xd0], 1
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
mov ebp, dword [eax]
push 0x2e
push str.protocol_prefix__tcp:_or_udp:__is_missed:
lea eax, [esp + 0x4c]
push eax
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], ebp
call esi
mov ebp, dword [eax]
movzx eax, byte [ebx]
test al, 1
je 0x401edc
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
jmp 0x401ede
shr eax, 1
lea ecx, [esp + 0x11]
mov edi, dword [esp + 0x108]
push eax
push ecx
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], ebp
lea ebp, [esp + 0x30]
mov ecx, ebp
lea eax, [esp + 0x3c]
push eax
call fcn.00414c30
mov esi, dword [esp + 0xcc]
mov ecx, esp
push ebp
call fcn.00424040
mov dword [esp + 0xc], esi
movzx eax, byte [esp]
mov ecx, dword [esp + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 1]
mov dword [edi + 1], ecx
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [edi], al
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
mov dword [edi + 0x14], 1
test byte [esp + 0x30], 1
je 0x401e5a
push dword [esp + 0x38]
call fcn.00420e70
add esp, 4
mov dword [esp + 0x3c], 0x583b44
mov dword [esp + 0x7c], 0x583b6c
mov dword [esp + 0x44], 0x583b58
mov dword [esp + 0x48], 0x583db4
test byte [esp + 0x68], 1
je 0x401e8d
push dword [esp + 0x70]
call fcn.00420e70
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042d8d0
lea ecx, [esp + 0x3c]
push 0x583b78
call fcn.0043c410
lea ecx, [esp + 0x7c]
call fcn.0042d730
test byte [esp + 0x24], 1
je 0x401ec0
push dword [esp + 0x2c]
call fcn.00420e70
add esp, 4
test byte [esp + 0x10], 1
je 0x402005
push dword [esp + 0x18]
call fcn.00420e70
add esp, 4
jmp 0x402005
shr eax, 1
push eax
push edi
lea ebx, [esp + 0x4c]
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], ebp
call esi
mov edi, dword [eax]
push 2
push 0x5805f9
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
call esi
mov edi, dword [eax]
push 0x19
push str.Expected_address_format:_n
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
call esi
mov edi, dword [eax]
push 0x30
push str._protocol_:_address_:_port___tcp:localhost:5554_
push ebx
call fcn.00415070
add esp, 0xc
call esi
mov dword [eax], edi
lea eax, [esp + 0x3c]
lea ebp, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.00414c30
mov esi, dword [esp + 0xcc]
mov ecx, esp
push ebp
call fcn.00424040
mov dword [esp + 0xc], esi
movzx eax, byte [esp]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x108]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 1]
mov dword [edi + 1], ecx
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [edi], al
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
mov dword [edi + 0x14], 1
test byte [esp + 0x30], 1
je 0x401fb2
push dword [esp + 0x38]
call fcn.00420e70
add esp, 4
mov dword [esp + 0x3c], 0x583b44
mov dword [esp + 0x7c], 0x583b6c
mov dword [esp + 0x44], 0x583b58
mov dword [esp + 0x48], 0x583db4
test byte [esp + 0x68], 1
je 0x401fe5
push dword [esp + 0x70]
call fcn.00420e70
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042d8d0
lea ecx, [esp + 0x3c]
push 0x583b78
call fcn.0043c410
lea ecx, [esp + 0x7c]
call fcn.0042d730
mov eax, edi
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x3c]
call fcn.00423df0
nop dword [eax + eax]