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

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
call fcn.004051c0
test eax, eax
je 0x4105af
push 0x13f7
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x13f7
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x18]
mov ebx, dword [esp + 0x3c]
push edi
push eax
push ecx
push ebx
push str.session__p_fd__d_pkt__p_length__d_n
push str.sess_process_packet
call fcn.00405190
mov edx, dword [esp + 0x68]
mov eax, dword [esi + 0x18]
push edi
push edx
push eax
push ebx
push str.session__p_fd__d_pkt__p_length__d_n
push str.sess_process_packet
call fcn.00405040
add esp, 0x50
push 4
push 0
call fcn.00402290
add esp, 8
test eax, eax
je 0x410618
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x410605
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4105f5
push ebx
push edi
push str._nReceived__d_bytes_from__s_n
push 7
call fcn.004122a0
push ebx
call fcn.0044a992
add esp, 0x14
jmp 0x410605
push edi
push str._nReceived__d_bytes_from__UNKNOWN__n
push 7
call fcn.004122a0
add esp, 0xc
mov eax, dword [esp + 0x30]
push 0x4861f8
push edi
push eax
call fcn.00427680
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
test eax, eax
mov ebx, dword [esp + 0x2c]
je 0x4106b4
mov edx, dword [esp + 0x28]
push ebx
push edx
push esi
push ebp
call eax
add esp, 0x10
test eax, eax
jne 0x4106b4
call fcn.004051c0
test eax, eax
je 0x410698
push 0x140f
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x140f
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
push str.pre_parse_fail_n
push str.sess_process_packet
call fcn.00405190
push str.pre_parse_fail_n
push str.sess_process_packet
call fcn.00405040
add esp, 0x30
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4106a9
push eax
call fcn.0044a992
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
push ebx
je 0x4106ca
mov ecx, dword [esp + 0x2c]
push ecx
push esi
call eax
jmp 0x4106d5
mov edx, dword [esp + 0x2c]
push edx
push esi
call fcn.00409640
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x410709
push str.pdu_failed_to_be_created_n
push 3
call fcn.004122a0
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x4106a9
push eax
call fcn.0044a992
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
test eax, eax
mov ecx, dword [esp + 0x30]
je 0x410723
push edi
push ecx
push ebx
push ebp
call eax
add esp, 0x10
jmp 0x410733
mov edx, dword [esp + 0x1c]
push ebx
push ebp
mov eax, edi
call fcn.0040f710
add esp, 8
mov edi, eax
test edi, edi
je 0x410795
call fcn.004051c0
test eax, eax
je 0x410795
push 0x142b
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x142b
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
push str.parse_fail_n
push str.sess_process_packet
call fcn.00405190
push str.parse_fail_n
push str.sess_process_packet
call fcn.00405040
add esp, 0x30
mov eax, dword [esi + 0x10]
test eax, eax
je 0x410806
push edi
push ebx
push ebp
call eax
add esp, 0xc
test eax, eax
jne 0x410806
call fcn.004051c0
test eax, eax
je 0x41080a
push 0x1430
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x1430
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
push str.post_parse_fail_n
push str.sess_process_packet
call fcn.00405190
push str.post_parse_fail_n
push str.sess_process_packet
call fcn.00405040
add esp, 0x30
jmp 0x41080a
test edi, edi
je 0x410874
cmp dword [ebx + 0x8c], 0
je 0x410860
mov edx, dword [ebx + 0x28]
push edx
call fcn.00418a90
add esp, 4
test eax, eax
je 0x410843
mov eax, dword [eax + 0x14]
test eax, eax
je 0x410838
mov ecx, dword [ebx + 0x8c]
push ecx
call eax
add esp, 4
jmp 0x410856
mov edx, dword [ebx + 0x28]
push edx
push str.Security_Model__d_cant_free_state_references_n
jmp 0x41084c
mov eax, dword [ebx + 0x28]
push eax
push str.Cant_find_security_model_to_free_ptr:__d_n
push 3
call fcn.004122a0
add esp, 0xc
mov dword [ebx + 0x8c], 0
push ebx
call fcn.00409560
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
test dword [ebx + 0x24], 0x100
je 0x410a15
cmp dword [ebx + 0x8c], 0
je 0x4108d7
mov ecx, dword [ebx + 0x28]
push ecx
call fcn.00418a90
add esp, 4
test eax, eax
je 0x4108ba
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4108af
mov edx, dword [ebx + 0x8c]
push edx
call eax
add esp, 4
jmp 0x4108cd
mov eax, dword [ebx + 0x28]
push eax
push str.Security_Model__d_cant_free_state_references_n
jmp 0x4108c3
mov ecx, dword [ebx + 0x28]
push ecx
push str.Cant_find_security_model_to_free_ptr:__d_n
push 3
call fcn.004122a0
add esp, 0xc
mov dword [ebx + 0x8c], 0
mov esi, dword [esi]
test esi, esi
je 0x410a35
mov edi, 1
cmp dword [ebx], 3
jne 0x410904
mov edx, dword [esi + 8]
cmp edx, dword [ebx + 0xc]
jne 0x410937
mov ecx, esi
call fcn.00406150
test eax, eax
je 0x410a35
jmp 0x41090c
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 8]
jne 0x410937
mov eax, dword [esi + 0xc]
test eax, eax
je 0x410918
mov ecx, dword [esi + 0x10]
jmp 0x41091e
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x30]
test eax, eax
mov dword [esp + 0x10], edi
je 0x410946
push ecx
mov ecx, dword [ebx + 8]
push ebx
push ecx
push ebp
push edi
call eax
add esp, 0x14
cmp eax, edi
je 0x410946
mov dword [esp + 0x14], esi
mov esi, dword [esi]
test esi, esi
jne 0x4108e6
jmp 0x410a35
cmp dword [ebx + 4], 0xa8
jne 0x4109d7
cmp dword [ebp + 0x38], 0xffffffdc
je 0x410967
push ebx
call fcn.00408e30
add esp, 4
cmp eax, 0xffffffdc
jne 0x410981
mov edx, dword [esi + 0x14]
cmp edx, dword [ebp + 4]
jg 0x410981
mov eax, dword [esp + 0x1c]
push edi
call fcn.0040ff50
add esp, 4
jmp 0x410a35
cmp dword [ebp + 0x70], 0
jne 0x4109d7
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4109d7
push eax
call fcn.0044c354
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
push ecx
push edx
push eax
call fcn.0044e790
mov eax, dword [ebx + 0x78]
add esp, 0x10
cmp dword [ebp + 0x58], 0
mov dword [ebp + 0x70], eax
jne 0x4109d7
mov ecx, dword [ebx + 0x78]
push ecx
call fcn.0044c354
mov dword [ebp + 0x54], eax
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x74]
push edx
push ecx
push eax
call fcn.0044e790
mov edx, dword [ebx + 0x78]
add esp, 0x10
mov dword [ebp + 0x58], edx
mov eax, dword [esp + 0x24]
cmp dword [eax], esi
jne 0x4109f1
cmp dword [eax + 4], esi
mov ecx, dword [esi]
mov dword [eax], ecx
jne 0x410a01
mov dword [eax + 4], 0
jmp 0x410a01
mov edx, dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
cmp dword [eax + 4], esi
jne 0x410a01
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x30]
push eax
call fcn.00409560
push esi
call fcn.0044a992
add esp, 8
jmp 0x410a35
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x410a35
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebx + 8]
push ecx
push ebx
push edx
mov edi, 1
push ebp
push edi
mov dword [esp + 0x24], edi
call eax
add esp, 0x14
cmp dword [ebx + 0x8c], 0
je 0x410a94
cmp dword [ebx + 4], 0xa7
jne 0x410a94
mov eax, dword [ebx + 0x28]
push eax
call fcn.00418a90
add esp, 4
test eax, eax
je 0x410a77
mov eax, dword [eax + 0x14]
test eax, eax
je 0x410a6c
mov ecx, dword [ebx + 0x8c]
push ecx
call eax
add esp, 4
jmp 0x410a8a
mov edx, dword [ebx + 0x28]
push edx
push str.Security_Model__d_cant_free_state_references_n
jmp 0x410a80
mov eax, dword [ebx + 0x28]
push eax
push str.Cant_find_security_model_to_free_ptr:__d_n
push 3
call fcn.004122a0
add esp, 0xc
mov dword [ebx + 0x8c], 0
cmp dword [esp + 0x10], 0
jne 0x410b01
push 2
call fcn.004098a0
add esp, 4
call fcn.004051c0
test eax, eax
je 0x410b01
push 0x1502
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405190
push 0x1502
push str....._snmplib_snmp_api.c
push 0x473320
push 0x473318
call fcn.00405040
push str.unhandled_PDU_n
push str.sess_process_packet
call fcn.00405190
push str.unhandled_PDU_n
push str.sess_process_packet
call fcn.00405040
add esp, 0x30
push ebx
call fcn.00409560
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret