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

Disassembly:
sub esp, 0x63c
mov eax, dword [0x48ae5c]
xor eax, esp
mov dword [esp + 0x638], eax
mov eax, dword [esp + 0x640]
mov ecx, dword [esp + 0x650]
mov edx, dword [esp + 0x654]
push ebx
mov ebx, dword [esp + 0x650]
push esi
mov esi, dword [esp + 0x64c]
push edi
mov edi, dword [esp + 0x654]
push 0
push edi
push esi
mov dword [esp + 0x34], eax
push eax
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
call fcn.0040a0c0
add esp, 0x10
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x40e1e7
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.0044ca30
add esp, 0x63c
ret
push ebp
mov ebp, eax
mov eax, dword [ebx]
sub ebp, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0x5c0
call fcn.00419d30
test eax, eax
je 0x40e28e
push 0xa7c
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0xa7c
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419d00
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419bb0
push str.ScopedPdu
push str.dumph_send
call fcn.00419bb0
add esp, 0x40
push 0x46e5ac
push str.dumph_send
call fcn.00419bb0
push 2
call fcn.004199b0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x34]
lea eax, [esp + 0x8c]
mov ebx, esi
call fcn.0040ad50
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x40e3d6
call fcn.00419d30
test eax, eax
je 0x40e35b
push 0xa85
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0xa85
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419d00
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419bb0
mov edi, dword [esp + 0x50]
add esp, 0x38
test edi, edi
je 0x40e32d
movzx eax, byte [edi]
jmp 0x40e32f
xor eax, eax
push eax
call fcn.004093b0
push eax
push str.dumph_send
call fcn.00419bb0
push 0x46e5ac
push str.dumph_send
call fcn.00419bb0
push 2
call fcn.004199b0
add esp, 0x18
jmp 0x40e35f
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40e37c
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.00450550
add esp, 0xc
add dword [esp + 0x10], ebx
jmp 0x40e397
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
call fcn.0040b210
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x40e3d6
call fcn.00419d30
test eax, eax
je 0x40e3aa
push 0xfffffffffffffffc
call fcn.004199b0
add esp, 4
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
push eax
push 0x30
push edx
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x24], 0x5c0
call fcn.00426d50
add esp, 0x10
test eax, eax
jne 0x40e3de
or eax, 0xffffffff
jmp 0x40e583
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
sub edi, ecx
mov dword [esp + 0x10], 0
mov dword [ebx], 0x5c0
call fcn.00419d30
test eax, eax
je 0x40e491
push 0xaa2
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419d00
push 0xaa2
push str....._snmplib_snmp_api.c
push str.__s___d:_n
push str.trace
call fcn.00419bb0
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419d00
call fcn.004199a0
push eax
push 0x46e600
push str.dumph_send
call fcn.00419bb0
push str.SM_msgSecurityParameters
push str.dumph_send
call fcn.00419bb0
add esp, 0x40
push 0x46e5ac
push str.dumph_send
call fcn.00419bb0
push 2
call fcn.004199b0
add esp, 0xc
mov edx, dword [esi + 0x28]
push edx
call fcn.0042c300
add esp, 4
test eax, eax
je 0x40e54d
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x40e558
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x88]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x5c0
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
call eax
add esp, 4
mov esi, eax
jmp 0x40e56e
mov edx, dword [esi + 0x28]
push edx
push str.no_such_security_service_available:__d_n
jmp 0x40e561
mov eax, dword [esi + 0x28]
push eax
push str.security_service__d_doesnt_support_forward_out_encoding._n
push 3
call fcn.0041c860
add esp, 0xc
or esi, 0xffffffff
call fcn.00419d30
test eax, eax
je 0x40e581
push 0xfffffffffffffffe
call fcn.004199b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x648]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044ca30
add esp, 0x63c
ret