Function at 0x100a2ad0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x100a2e71
cmp word [ebp], 0x17
jne 0x100a2e71
push ebx
push 0x58
call fcn.1013fbbd
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100a2afe
pop ebx
pop ebp
pop ecx
ret
push esi
push edi
push 0x58
push 0
push ebx
call fcn.1013f910
push 0x1c
push ebp
push 0
push str.TCP_IPv6
call fcn.100a6160
add esp, 0x1c
mov esi, eax
call fcn.10095620
test eax, eax
je 0x100a2ba4
push 0x9c
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x9c
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
mov edi, dword [esp + 0x3c]
add esp, 0x20
mov eax, 0x1017c5cc
test edi, edi
jne 0x100a2b6e
mov eax, str.remote
push esi
push eax
push str.open__s__s_n
push str.netsnmp_tcp6
call fcn.100955c0
add esp, 0x10
mov eax, 0x1017c5cc
test edi, edi
jne 0x100a2b90
mov eax, str.remote
push esi
push eax
push str.open__s__s_n
push str.netsnmp_tcp6
call fcn.10095470
add esp, 0x10
push esi
call fcn.1013db65
push 0x58
push 0
push ebx
call fcn.1013f910
push 0x1c
call fcn.1013fbbd
add esp, 0x14
mov dword [ebx + 0x20], eax
test eax, eax
je 0x100a2bfb
mov edi, eax
mov dword [ebx + 0x24], 0x1c
mov ecx, 7
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
push 0
mov edi, 1
push edi
push 0x17
mov dword [ebx], 0x101bc100
mov dword [ebx + 4], 9
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x18], eax
test eax, eax
jge 0x100a2c0c
push ebx
call fcn.10094de0
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
cmp dword [esp + 0x1c], 0
mov dword [ebx + 0x1c], edi
je 0x100a2d62
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x1b
push 0x29
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x100a2cc0
call fcn.10095620
test eax, eax
je 0x100a2cc0
push 0xc2
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0xc2
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
call fcn.1013e846
mov edx, dword [eax]
push edx
call fcn.1013ed6d
push eax
mov eax, dword [esp + 0x40]
push eax
push str.couldnt_set_IPV6_V6ONLY_to__d_bytes:__s_n
push str.netsnmp_tcp6
call fcn.100955c0
call fcn.1013e846
mov ecx, dword [eax]
push ecx
call fcn.1013ed6d
mov edx, dword [esp + 0x50]
push eax
push edx
push str.couldnt_set_IPV6_V6ONLY_to__d_bytes:__s_n
push str.netsnmp_tcp6
call fcn.10095470
add esp, 0x48
or dword [ebx + 0x1c], 2
push 0x12
call fcn.1013fbbd
add esp, 4
mov dword [ebx + 8], eax
test eax, eax
je 0x100a2d4b
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xc], edx
mov cl, byte [ebp + 3]
mov eax, dword [ebx + 8]
mov byte [eax + 0x10], cl
mov edx, dword [ebx + 8]
mov al, byte [ebp + 2]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
mov byte [edx + 0x11], al
mov edx, dword [ebx + 0x18]
push 0xffff
push edx
mov dword [ebx + 0xc], 0x12
call esi
mov eax, dword [ebx + 0x18]
push 0x1c
push ebp
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x100a2d4b
mov ecx, dword [ebx + 0x18]
push edi
push ecx
call fcn.100a7400
mov edx, dword [ebx + 0x18]
add esp, 8
push 5
push edx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x100a2e3f
push ebx
call fcn.100a6d40
push ebx
call fcn.10094de0
add esp, 8
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
push 0x12
call fcn.1013fbbd
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
je 0x100a2d4b
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xc], edx
mov cl, byte [ebp + 3]
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x10], cl
mov al, byte [ebp + 2]
mov edx, dword [ebx + 0x10]
push 0x1c
mov byte [edx + 0x11], al
mov ecx, dword [ebx + 0x18]
push ebp
push ecx
mov dword [ebx + 0x14], 0x12
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.10095620
test eax, eax
je 0x100a2e10
push 0x110
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x110
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpTCPIPv6Domain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
push esi
push str.connect_returns__d_n
push str.netsnmp_tcp6
call fcn.100955c0
push esi
push str.connect_returns__d_n
push str.netsnmp_tcp6
call fcn.10095470
add esp, 0x38
test esi, esi
jl 0x100a2d4b
mov edx, dword [ebx + 0x18]
push 0
push 0
push 0x1001
push edx
call fcn.100a70f0
mov eax, dword [ebx + 0x18]
push 0
push 0
push 0x1002
push eax
call fcn.100a70f0
add esp, 0x20
pop edi
pop esi
mov dword [ebx + 0x28], bind
mov dword [ebx + 0x30], 0x100a8010
mov dword [ebx + 0x34], 0x100a81c0
mov dword [ebx + 0x38], fcn.100a6d40
mov dword [ebx + 0x40], 0x100a2850
mov dword [ebx + 0x44], 0x100a2830
mov eax, ebx
pop ebx
pop ebp
pop ecx
ret
xor eax, eax
pop ebp
pop ecx
ret