Function at 0x10077df0
Capabilities:
Connect socket
Get socket status

Disassembly:
push 0xffffffffffffffff
push 0x1015e607
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10074080
mov edi, dword [esp + 0x240]
test al, al
jne 0x10077e46
mov ecx, edi
call fcn.10073d90
push eax
mov ecx, esi
call fcn.10074a20
test eax, eax
jne 0x10078176
push 0
mov ecx, esi
call fcn.10074b50
mov ebx, eax
test ebx, ebx
je 0x10077e63
mov ecx, esi
call fcn.10074090
mov eax, ebx
jmp 0x10078176
mov ebx, dword [esi + 8]
mov ecx, edi
call fcn.10073ea0
push eax
mov ecx, edi
call fcn.10073e90
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
or ebp, 0xffffffff
mov ebx, 1
cmp eax, ebp
jne 0x10078105
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 0x18], eax
cmp eax, 0x2733
je 0x10077f17
mov ecx, esi
call fcn.10074090
lea eax, [esp + 0x14]
push str.SF_NET_SDK
push eax
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], 0
call fcn.1005d580
test al, al
je 0x10077ef5
mov ecx, dword [esp + 0x18]
push ecx
push str._ERROR__NET_SStreamSocket::connect:_connect_error:__d
push 0x45
push str.SamsungFramework::NetSDK::SStreamSocket::connect
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSStreamSocket.cpp
lea edx, [esp + 0x28]
push 0
push edx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], ebp
call fcn.10117cb0
mov eax, dword [esp + 0x18]
push eax
call fcn.10073fe0
add esp, 4
jmp 0x10078176
mov ecx, dword [esp + 0x244]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov edi, dword [esi + 8]
mov dword [esp + 0x20], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x134]
push eax
mov dword [esp + 0x13c], edi
mov dword [esp + 0x38], edi
push 0
inc edi
push edi
mov dword [esp + 0x140], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jne 0x10077ff6
call sub.WS2_32.dll_WSAGetLastError
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.10074090
lea ecx, [esp + 0x14]
push str.SF_NET_SDK
push ecx
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], ebx
call fcn.1005d580
test al, al
je 0x10077fd4
mov edx, dword [esp + 0x18]
push edx
push str._ERROR__NET_SStreamSocket::connect:_select_error:__d
push 0x62
push str.SamsungFramework::NetSDK::SStreamSocket::connect
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSStreamSocket.cpp
lea eax, [esp + 0x28]
push 0
push eax
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], ebp
call fcn.10117cb0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10073fe0
add esp, 4
jmp 0x10078176
test eax, eax
jne 0x10078067
mov ecx, esi
call fcn.10074090
lea edx, [esp + 0x14]
push str.SF_NET_SDK
push edx
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], 2
call fcn.1005d580
test al, al
je 0x1007804d
push str._ERROR__NET_SStreamSocket::connect:_timeout
push 0x69
push str.SamsungFramework::NetSDK::SStreamSocket::connect
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSStreamSocket.cpp
lea eax, [esp + 0x24]
push 0
push eax
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], ebp
call fcn.10117cb0
mov eax, 6
jmp 0x10078176
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.10074be0
mov edi, eax
test edi, edi
je 0x10078087
mov ecx, esi
call fcn.10074090
mov eax, edi
jmp 0x10078176
cmp dword [esp + 0x18], 0
je 0x10078105
mov ecx, esi
call fcn.10074090
lea edx, [esp + 0x14]
push str.SF_NET_SDK
push edx
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], 3
call fcn.1005d580
test al, al
je 0x100780e6
mov eax, dword [esp + 0x18]
push eax
push str._ERROR__NET_SStreamSocket::connect:_connect_error:__d
push 0x79
push str.SamsungFramework::NetSDK::SStreamSocket::connect
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSStreamSocket.cpp
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], ebp
call fcn.10117cb0
mov edx, dword [esp + 0x18]
push edx
call fcn.10073fe0
add esp, 4
jmp 0x10078176
push ebx
mov ecx, esi
call fcn.10074b50
mov edi, eax
test edi, edi
jne 0x10078079
lea eax, [esp + 0x1c]
push str.SF_NET_SDK
push eax
call fcn.1005e920
add esp, 8
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x23c], 4
call fcn.1005d580
test al, al
je 0x10078164
push str.NET_SStreamSocket::connect:_connected
push 0x86
push str.SamsungFramework::NetSDK::SStreamSocket::connect
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSStreamSocket.cpp
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x1c]
mov dword [esp + 0x238], ebp
call fcn.10117cb0
xor eax, eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret 8