Function at 0x6103e270
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 0x6103e2c8
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 0x6103e37a
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 0x6103e2fa
movzx eax, byte [esi + 0x1d8]
test al, 0x10
je 0x6103e384
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 0x6103e4b4
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.61100d00
sub esp, 0x24
cmp eax, 0xffffffff
mov ebx, eax
je 0x6103e480
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
mov edx, ebx
je 0x6103e500
add esp, 0x5c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 1
jne 0x6103e2fa
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 0x6103e480
jmp 0x6103e43c
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.61100d00
sub esp, 0x24
cmp eax, 0xffffffff
mov ebx, eax
jne 0x6103e54c
call fcn.61100c48
cmp eax, 0x2733
jne 0x6103e54c
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 0x6103e54c
test byte [esi + 0x1d8], 0x10
jne 0x6103e54c
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 0x6103e3c0
xor eax, eax
jmp 0x6103e3c0
mov edx, 0x520
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 0x6103e37a
cmp dword [esi + 0x1a4], 1
je 0x6103e50e
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.61100d00
sub esp, 0x24
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6103e480
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
jne 0x6103e4a8
lea esi, [esi]
lea edi, [edi]
call sym.cygwin1.dll___errno
cmp dword [eax], 0x6e
je 0x6103e49f
mov edx, ebx
jmp 0x6103e4aa
test byte [0x6110c854], 1
jne 0x6103e55e
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 0x6103e4a8
mov dword [esp], 0xd
call sym._raise_1
mov edx, ebx
jmp 0x6103e4aa
mov dword [esp], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call method.fhandler_socket.release_void_
jmp 0x6103e4e7
mov dword [esp], 0x6110c854
mov ebp, 0x20
mov edi, 0x52c
mov dword [esp + 0x18], ebp
mov esi, str.int_fhandler_socket::sendto_const_void__size_t__int__const_sockaddr__int_
mov ecx, 0x61123157
mov dword [esp + 0x14], edi
mov edx, 0x61123130
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 0x6103e517