Function at 0x100a88d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x3c
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x38], eax
push edi
mov edi, dword [esp + 0x44]
test edi, edi
je 0x100a8dc5
cmp word [edi], 2
jne 0x100a8dc5
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0xc]
push 0x58
push 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.10141a9d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100a8d95
push ebp
push esi
push 0x24
lea ecx, [esp + 0x18]
push ecx
push 0
call fcn.100a3600
add esp, 0xc
mov ebp, eax
call fcn.10095620
mov esi, dword [esp + 0x54]
test eax, eax
je 0x100a89e2
push 0x53
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x53
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
add esp, 0x20
mov eax, 0x1017c5cc
test esi, esi
jne 0x100a89ac
mov eax, str.remote
push ebp
push eax
push str.open__s__s_n
push str.netsnmp_udpbase
call fcn.100955c0
add esp, 0x10
mov eax, 0x1017c5cc
test esi, esi
jne 0x100a89ce
mov eax, str.remote
push ebp
push eax
push str.open__s__s_n
push str.netsnmp_udpbase
call fcn.10095470
add esp, 0x10
push ebp
call fcn.1013db65
add esp, 4
xor ebp, ebp
push ebp
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x18], eax
call fcn.10095620
test eax, eax
je 0x100a8a5b
push 0x57
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x57
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
mov edx, dword [ebx + 0x18]
push esi
push edx
push str.openned_socket__d_as_local_d_n
push str.UDPBase
call fcn.100955c0
mov eax, dword [ebx + 0x18]
push esi
push eax
push str.openned_socket__d_as_local_d_n
push str.UDPBase
call fcn.10095470
add esp, 0x40
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jl 0x100a8d77
push esi
push eax
call fcn.100a7420
add esp, 8
cmp esi, ebp
je 0x100a8ae9
push 6
call fcn.1013fbbd
add esp, 4
mov dword [ebx + 8], eax
cmp eax, ebp
je 0x100a8d77
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov dword [eax], ecx
movzx edx, word [edi + 2]
push edx
call esi
mov ecx, dword [ebx + 8]
shr ax, 8
mov byte [ecx + 4], al
movzx edx, word [edi + 2]
push edx
call esi
mov ecx, dword [ebx + 8]
push 0x10
mov byte [ecx + 5], al
mov edx, dword [ebx + 0x18]
push edi
push edx
mov dword [ebx + 0xc], 6
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x100a8c23
pop esi
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
pop ebp
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1013d581
add esp, 0x3c
ret
push 0xe
push ebp
call fcn.10093780
add esp, 8
cmp eax, ebp
je 0x100a8c87
push ebp
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100a8210
xor ecx, ecx
add esp, 0xc
mov word [esp + 0x3a], cx
call fcn.10095620
test eax, eax
je 0x100a8b76
push 0x91
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x91
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
mov edx, dword [ebx + 0x18]
push edx
push str.binding_socket:__d_n
push str.netsnmp_udpbase
call fcn.100955c0
mov eax, dword [ebx + 0x18]
push eax
push str.binding_socket:__d_n
push str.netsnmp_udpbase
call fcn.10095470
add esp, 0x38
mov edx, dword [ebx + 0x18]
push 0x10
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x100a8c47
call fcn.10095620
test eax, eax
je 0x100a8c23
push 0x96
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x96
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
call fcn.1013e846
mov esi, eax
call fcn.1013e846
mov edi, eax
mov eax, dword [esi]
push eax
call fcn.1013ed6d
mov ecx, dword [edi]
push eax
push ecx
push str.failed_to_bind_for_clientaddr:__d__s_n
push str.netsnmp_udpbase
call fcn.100955c0
call fcn.1013e846
mov esi, eax
call fcn.1013e846
mov edx, dword [esi]
push edx
mov edi, eax
call fcn.1013ed6d
push eax
mov eax, dword [edi]
push eax
push str.failed_to_bind_for_clientaddr:__d__s_n
push str.netsnmp_udpbase
call fcn.10095470
add esp, 0x48
push ebx
call fcn.100a6d40
push ebx
call fcn.10094de0
add esp, 8
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1013d581
add esp, 0x3c
ret
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x14], 0x10
mov eax, dword [ebx + 0x18]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100a8c87
push 0xa
push 0x9e
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.rc2__0
push str.netsnmp_assert__s_failed__s:_d_c
push 3
call fcn.10092860
add esp, 0x18
push 0x24
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.100a3600
add esp, 0xc
mov esi, eax
call fcn.10095620
test eax, eax
je 0x100a8cf7
push 0xa3
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0xa3
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.__s___d:_n
push str.trace
call fcn.10095470
push esi
push str.client_open__s_n
push str.netsnmp_udpbase
call fcn.100955c0
push esi
push str.client_open__s_n
push str.netsnmp_udpbase
call fcn.10095470
add esp, 0x38
push esi
call fcn.1013db65
push 0x24
call fcn.1013fbbd
push 6
mov dword [ebx + 0x20], eax
call fcn.1013fbbd
add esp, 0xc
mov dword [ebx + 0x10], eax
cmp dword [ebx + 0x20], ebp
je 0x100a8d77
cmp eax, ebp
je 0x100a8d77
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov dword [eax], edx
movzx eax, word [edi + 2]
push eax
call esi
mov ecx, dword [ebx + 0x10]
shr ax, 8
mov byte [ecx + 4], al
movzx edx, word [edi + 2]
push edx
call esi
mov ecx, dword [ebx + 0x10]
mov byte [ecx + 5], al
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x14], 6
mov ecx, 9
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
pop esi
pop ebp
mov dword [ebx + 0x24], 0x24
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1013d581
add esp, 0x3c
ret
push ebx
call fcn.10094de0
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1013d581
add esp, 0x3c
ret
push 0xa
push 0x4e
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_transports_snmpUDPIPv4BaseDomain.c
push str.t_____void__0_
push str.netsnmp_assert__s_failed__s:_d_c
push 3
call fcn.10092860
add esp, 0x18
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1013d581
add esp, 0x3c
ret
mov ecx, dword [esp + 0x3c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.1013d581
add esp, 0x3c
ret