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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
mov eax, dword [edi]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x33
mov dword [esp + 0x18], ebx
mov dword [esp + 0x78], eax
call fcn.004051c0
test eax, eax
mov esi, dword [esp + 0x80]
je 0x40a1c3
push 0xa02
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0xa02
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405190
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405040
mov ecx, dword [esi + 4]
push ecx
call fcn.004056a0
push eax
push str.dumph_send
call fcn.00405040
add esp, 0x44
push 0x475254
push str.dumph_send
call fcn.00405040
push 2
call fcn.00404e40
add esp, 0xc
cmp dword [esp + 0x84], ebx
je 0x40a222
mov ebp, dword [esp + 0x74]
mov edx, dword [ebp]
sub edx, dword [edi]
mov ebx, dword [esp + 0x88]
cmp edx, ebx
jae 0x40a1ff
mov eax, dword [esp + 0x70]
push ebp
push eax
call fcn.00423f40
add esp, 8
test eax, eax
je 0x40a354
mov ecx, dword [ebp]
sub ecx, dword [edi]
cmp ecx, ebx
jb 0x40a1e0
add dword [edi], ebx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x70]
mov eax, dword [edi]
push ebx
push edx
mov edx, dword [ecx]
sub edx, eax
add edx, dword [ebp]
push edx
call fcn.0044e790
add esp, 0xc
jmp 0x40a242
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push esi
push edi
push eax
push ecx
call fcn.00408060
add esp, 0x10
test eax, eax
je 0x40a354
mov ebp, dword [esp + 0x74]
mov ebx, dword [edi]
sub ebx, dword [esp + 0x78]
call fcn.004051c0
test eax, eax
je 0x40a2dc
push 0xa14
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0xa14
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405190
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405040
push str.ScopedPdu
push str.dumph_send
call fcn.00405040
add esp, 0x40
push 0x475254
push str.dumph_send
call fcn.00405040
push 2
call fcn.00404e40
add esp, 0xc
mov edx, dword [esp + 0x70]
push ebx
push esi
push edi
push ebp
push edx
call fcn.00407310
add esp, 0x14
test eax, eax
je 0x40a354
mov eax, dword [edi]
mov dword [esp + 0x84], eax
call fcn.004051c0
test eax, eax
je 0x40a30d
push 0xfffffffffffffffc
call fcn.00404e40
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044c354
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x40a354
mov edx, dword [esp + 0x7c]
push esi
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00406ae0
add esp, 0x14
test eax, eax
jne 0x40a35f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a354
push eax
call fcn.0044a992
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x14]
mov ebp, dword [eax]
sub ebx, dword [esp + 0x18]
mov edx, dword [esi + 0x28]
sub ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
add ebx, dword [esp + 0x10]
add ebp, dword [ecx]
push edx
call fcn.00418a90
add esp, 4
mov dword [esp + 0x78], eax
call fcn.004051c0
test eax, eax
je 0x40a422
push 0xa30
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0xa30
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405190
call fcn.00404e30
push eax
push 0x4747ec
push str.dumph_send
call fcn.00405040
push str.SM_msgSecurityParameters
push str.dumph_send
call fcn.00405040
add esp, 0x40
push 0x475254
push str.dumph_send
call fcn.00405040
push 2
call fcn.00404e40
add esp, 0xc
mov eax, dword [esp + 0x78]
test eax, eax
je 0x40a4c8
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40a4d3
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], 0x5c0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], esi
call eax
add esp, 4
mov esi, eax
jmp 0x40a4e9
mov eax, dword [esi + 0x28]
push eax
push str.no_such_security_service_available:__d_n
jmp 0x40a4dc
mov ecx, dword [esi + 0x28]
push ecx
push str.security_service__d_doesnt_support_reverse_encoding._n
push 3
call fcn.004122a0
add esp, 0xc
or esi, 0xffffffff
call fcn.004051c0
test eax, eax
je 0x40a4fc
push 0xfffffffffffffffe
call fcn.00404e40
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a50d
push eax
call fcn.0044a992
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret