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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test eax, eax
mov edi, dword [esp + 0x78]
je 0x6103da38
xor eax, eax
mov edx, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x84]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], ebx
call sym.get_inet_addr_sockaddr_const__int__sockaddr_in__int__int__int_
test eax, eax
mov edx, 0xffffffff
je 0x6103daea
mov dword [esp + 0x38], edi
xor eax, eax
mov ebx, 0xffffffff
mov dword [esp + 0x34], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov dword [esp], esi
call method.fhandler_base.is_nonblocking__
test al, al
jne 0x6103da6a
movzx eax, byte [esi + 0x1d8]
test al, 0x10
je 0x6103daf4
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xe4]
mov edx, dword [eax]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6103dc24
mov dword [esp + 4], edi
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
and eax, 7
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
call fcn.610fed00
sub esp, 0x24
cmp eax, 0xffffffff
mov ebx, eax
je 0x6103dbf0
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
mov edx, ebx
je 0x6103dc70
add esp, 0x5c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 1
jne 0x6103da6a
mov dword [esp], esi
shr al, 5
and al, 1
cmp al, 1
lea ebp, [esp + 0x34]
sbb eax, eax
and eax, 0xfffffffc
add eax, 0x26
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call method.fhandler_socket.prepare_void__long_
test al, al
je 0x6103dbf0
jmp 0x6103dbac
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edi
and eax, 7
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.610fed00
sub esp, 0x24
cmp eax, 0xffffffff
mov ebx, eax
jne 0x6103dcbc
call fcn.610fec48
cmp eax, 0x2733
jne 0x6103dcbc
mov dword [esp], esi
mov eax, 0xa
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call method.fhandler_socket.wait_void__int__unsigned_long_
test eax, eax
mov ebx, eax
jne 0x6103dcbc
test byte [esi + 0x1d8], 0x10
jne 0x6103dcbc
mov eax, dword [esi]
mov dword [esp], esi
xor ebx, ebx
call dword [eax + 0xe4]
mov ecx, dword [esp + 0x80]
mov edx, dword [eax]
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
jne 0x6103db30
xor eax, eax
jmp 0x6103db30
mov edx, 0x513
mov eax, str.sendto
call sym.__set_winsock_errno_char_const__int_
call sym.cygwin1.dll___errno
cmp dword [eax], 0x6e
mov edx, ebx
jne 0x6103daea
cmp dword [esi + 0x1a4], 1
je 0x6103dc7e
mov edx, ebx
add esp, 0x5c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edi
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
and eax, 7
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
call fcn.610fed00
sub esp, 0x24
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6103dbf0
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
jne 0x6103dc18
lea esi, [esi]
lea edi, [edi]
call sym.cygwin1.dll___errno
cmp dword [eax], 0x6e
je 0x6103dc0f
mov edx, ebx
jmp 0x6103dc1a
test byte [0x6110a820], 1
jne 0x6103dcce
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 0x20
mov dword [eax], 0x20
test byte [esp + 0x7c], 0x20
jne 0x6103dc18
mov dword [esp], 0xd
call sym._raise_1
mov edx, ebx
jmp 0x6103dc1a
mov dword [esp], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call method.fhandler_socket.release_void_
jmp 0x6103dc57
mov dword [esp], 0x6110a820
mov ebp, 0x20
mov edi, 0x51f
mov dword [esp + 0x18], ebp
mov esi, str.int_fhandler_socket::sendto_const_void__size_t__int__const_sockaddr__int_
mov ecx, 0x611210d7
mov dword [esp + 0x14], edi
mov edx, 0x611210b0
mov eax, 0x40
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6103dc87