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

Disassembly:
push 0xffffffffffffffff
push 0x4c6073
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x89c]
test ebx, ebx
mov eax, dword [esp + 0x898]
mov dword [esp + 0x2c], eax
je 0x4961a4
mov eax, dword [ebx + 0x600]
push eax
lea ecx, [ebx + 0x200]
push ecx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x68], eax
call fcn.004ab500
add esp, 0xc
cmp byte [esp + 0x84], 0x30
mov dword [esp + 0x14], 0
jne 0x4961a4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x89]
push ecx
call fcn.00493820
add esp, 8
test eax, eax
je 0x4961a4
lea edx, [esp + 0x84]
sub eax, edx
mov esi, eax
cmp byte [esp + esi + 0x84], 2
jne 0x4961a4
add esi, 1
cmp byte [esp + esi + 0x84], 1
jne 0x4961a4
add esi, 1
cmp byte [esp + esi + 0x84], 0
jne 0x4961a4
add esi, 1
cmp byte [esp + esi + 0x84], 4
jne 0x4961a4
lea eax, [esp + 0x14]
add esi, 1
push eax
lea ecx, [esp + esi + 0x88]
push ecx
call fcn.00493820
add esp, 8
test eax, eax
je 0x4961a4
mov ecx, dword [esp + 0x14]
sub eax, esi
lea edx, [esp + 0x84]
sub eax, edx
add eax, ecx
add esi, eax
cmp byte [esp + esi + 0x84], 0xa4
jne 0x4961a4
lea edx, [esp + 0x14]
add esi, 1
push edx
lea eax, [esp + esi + 0x88]
push eax
call fcn.00493820
add esp, 8
test eax, eax
je 0x4961a4
lea ecx, [esp + 0x84]
sub eax, ecx
mov ebp, eax
cmp byte [esp + ebp + 0x84], 6
lea esi, [esp + ebp + 0x84]
jne 0x4961a4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + ebp + 0x89]
push eax
call fcn.00493820
add esp, 8
test eax, eax
je 0x4961a4
mov edi, dword [esp + 0x14]
push 0x400
sub eax, esi
add edi, eax
lea ecx, [esp + 0x488]
push 0
push ecx
mov dword [esp + 0x20], edi
add ebp, edi
call fcn.004ab450
push edi
lea edx, [esp + 0x494]
push esi
push edx
call fcn.004ab500
add esp, 0x18
lea ecx, [esp + 0x18]
call sym.Setup.exe_public:_void___thiscall_OID::constructor_void_
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x89c], 0
call fcn.00492fd0
add esp, 0xc
test eax, eax
jne 0x496190
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call sym.Setup.exe_public:_class_OID____thiscall_OID::operator_class_OID__
cmp byte [esp + ebp + 0x84], 0x40
lea edi, [esp + ebp + 0x84]
jne 0x496190
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + ebp + 0x89]
push edx
call fcn.00493820
add esp, 8
test eax, eax
je 0x496190
mov esi, dword [esp + 0x14]
sub eax, edi
add esi, eax
push 0x400
lea eax, [esp + 0x488]
push 0
push eax
mov dword [esp + 0x20], esi
add ebp, esi
call fcn.004ab450
push esi
lea ecx, [esp + 0x494]
push edi
push ecx
call fcn.004ab500
add esp, 0x18
lea ecx, [esp + 0x20]
call sym.Setup.exe_public:_void___thiscall_IPAddress::constructor_void_
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x89c], 1
call fcn.00493740
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
jne 0x496183
mov edi, str.0.0.0.0
call sym.Setup.exe_public:_unsigned_int___thiscall_Counter::getValue_void_
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x496249
movzx eax, byte [ebx + 0x604]
sub eax, 1
je 0x49620c
sub eax, 1
je 0x4961cf
sub eax, 2
je 0x49613f
mov byte [esp + 0x890], dl
lea ecx, [esp + 0x20]
jmp 0x49618b
add ebx, 0x605
push ebx
lea ecx, [esp + 0x40]
call sym.Setup.exe_public:_void___thiscall_IPXAddress::constructor_char__
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x894], 4
call sym.Setup.exe_private:_int___thiscall_TrapPDU::setSourceAddress_class_NetworkAddress__
test eax, eax
lea ecx, [esp + 0x3c]
setne bl
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_IPXAddress::destructor_void_
test bl, bl
je 0x49625f
lea ecx, [esp + 0x20]
mov byte [esp + 0x890], 0
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
lea ecx, [esp + 0x18]
mov dword [esp + 0x890], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
or eax, 0xffffffff
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.004a998e
add esp, 0x880
ret
add ebx, 0x605
push ebx
lea ecx, [esp + 0x7c]
call sym.Setup.exe_public:_void___thiscall_IPAddress::constructor_char__
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x894], 3
call sym.Setup.exe_private:_int___thiscall_TrapPDU::setSourceAddress_class_NetworkAddress__
test eax, eax
lea ecx, [esp + 0x78]
setne bl
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
jmp 0x496177
add ebx, 0x605
push ebx
lea ecx, [esp + 0x74]
call sym.Setup.exe_public:_void___thiscall_PhysAddress::constructor_char__
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x894], 2
call sym.Setup.exe_private:_int___thiscall_TrapPDU::setSourceAddress_class_NetworkAddress__
test eax, eax
lea ecx, [esp + 0x70]
setne bl
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_PhysAddress::destructor_void_
jmp 0x496177
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
call sym.Setup.exe_private:_int___thiscall_TrapPDU::setSourceAddress_class_NetworkAddress__
test eax, eax
jne 0x49617f
cmp byte [esp + ebp + 0x84], 2
mov ebx, dword [esp + 0x2c]
jne 0x49617f
add ebp, 1
cmp byte [esp + ebp + 0x84], 1
jne 0x49617f
movsx ecx, byte [esp + ebp + 0x85]
add ebp, 1
mov eax, ecx
add ebp, 1
test eax, eax
mov dword [ebx + 0xc], ecx
jl 0x49617f
cmp eax, 6
jg 0x49617f
cmp byte [esp + ebp + 0x84], 2
lea edi, [esp + ebp + 0x84]
jne 0x49617f
lea edx, [esp + 0x14]
push edx
lea eax, [esp + ebp + 0x89]
push eax
call fcn.00493820
add esp, 8
test eax, eax
je 0x49617f
mov esi, dword [esp + 0x14]
push 0x400
sub eax, edi
add esi, eax
lea ecx, [esp + 0x488]
push 0
push ecx
mov dword [esp + 0x20], esi
add ebp, esi
call fcn.004ab450
push esi
lea edx, [esp + 0x494]
push edi
push edx
call fcn.004ab500
add esp, 0x18
lea ecx, [esp + 0x30]
call sym.Setup.exe_public:_void___thiscall_Integer::constructor_void_
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x89c], 5
call fcn.00494a90
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x30]
je 0x496351
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_Integer::destructor_void_
jmp 0x49617f
call sym.Setup.exe_public:_unsigned_int___thiscall_Counter::getValue_void_
cmp dword [ebx + 0xc], 6
mov dword [ebx + 0x10], eax
jne 0x496371
cmp eax, 0x11
jl 0x496413
cmp eax, 0x16
jg 0x496413
cmp byte [esp + ebp + 0x84], 0x43
lea edi, [esp + ebp + 0x84]
jne 0x496413
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + ebp + 0x89]
push ecx
call fcn.00493820
add esp, 8
test eax, eax
je 0x496413
mov esi, dword [esp + 0x14]
push 0x400
sub eax, edi
add esi, eax
lea edx, [esp + 0x488]
push 0
push edx
mov dword [esp + 0x20], esi
add ebp, esi
call fcn.004ab450
push esi
lea eax, [esp + 0x494]
push edi
push eax
call fcn.004ab500
add esp, 0x18
lea ecx, [esp + 0x4c]
call sym.Setup.exe_public:_void___thiscall_TimeTicks::constructor_void_
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x488]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x89c], 6
call fcn.00494670
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x4c]
je 0x496429
mov byte [esp + 0x890], 5
call sym.Setup.exe_public_virtual:_void___thiscall_TimeTicks::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_Integer::destructor_void_
jmp 0x49617f
push ecx
lea ecx, [ebx + 0x14]
call sym.Setup.exe_public:_class_TimeTicks____thiscall_TimeTicks::operator_class_TimeTicks__
cmp byte [esp + ebp + 0x84], 0x30
jne 0x4968d6
lea edx, [esp + 0x14]
add ebp, 1
push edx
lea esi, [esp + ebp + 0x88]
push esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x4968d6
sub eax, esi
add ebp, eax
cmp ebp, dword [esp + 0x5c]
jae 0x496877
cmp byte [esp + ebp + 0x84], 0x30
lea esi, [esp + ebp + 0x84]
jne 0x49686d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + ebp + 0x89]
push ecx
call fcn.00493820
add esp, 8
test eax, eax
je 0x4968d6
sub eax, esi
add ebp, eax
cmp byte [esp + ebp + 0x84], 6
lea esi, [esp + ebp + 0x84]
mov dword [esp + 0x14], eax
jne 0x4968d6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + ebp + 0x89]
push eax
call fcn.00493820
add esp, 8
test eax, eax
je 0x4968d6
mov edi, dword [esp + 0x14]
push 0x400
sub eax, esi
add edi, eax
lea ecx, [esp + 0x488]
push 0
push ecx
mov dword [esp + 0x20], edi
add ebp, edi
call fcn.004ab450
push edi
lea edx, [esp + 0x494]
push esi
push edx
call fcn.004ab500
add esp, 0x18
lea ecx, [esp + 0x44]
call sym.Setup.exe_public:_void___thiscall_OID::constructor_void_
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x89c], 7
call fcn.00492fd0
add esp, 0xc
test eax, eax
jne case.0x4965d0.3
movsx eax, byte [esp + ebp + 0x84]
lea esi, [esp + ebp + 0x84]
push eax
lea ecx, [esp + 0x64]
push 0x4d39bc
push ecx
call fcn.004aa842
lea edx, [esp + 0x6c]
push edx
call fcn.004ab876
mov ebx, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + ebp + 0x99]
push ecx
call fcn.00493820
add esp, 0x18
test eax, eax
je case.0x4965d0.3
mov edi, dword [esp + 0x14]
push 0x400
sub eax, esi
add edi, eax
lea edx, [esp + 0x488]
push 0
push edx
mov dword [esp + 0x20], edi
add ebp, edi
call fcn.004ab450
push edi
lea eax, [esp + 0x494]
push esi
push eax
call fcn.004ab500
lea eax, [ebx - 2]
add esp, 0x18
cmp eax, 0x41
ja case.0x4965d0.3
movzx ecx, byte [eax + 0x496964]
jmp dword [ecx*4 + 0x496940]
push 0xc
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 8
je 0x4965fa
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_Counter::constructor_void_
jmp 0x4965fc
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.004950d0
jmp 0x496807
push 0xc
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 9
je 0x496641
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_Gauge::constructor_void_
jmp 0x496643
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.00494da0
jmp 0x496807
push 0xc
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xa
je 0x496688
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_Integer::constructor_void_
jmp 0x49668a
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.00494a90
jmp 0x496807
push 0xc
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xb
je 0x4966cf
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_IPAddress::constructor_void_
jmp 0x4966d1
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.00493740
jmp 0x496807
push 0x10
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xc
je 0x496716
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_OctetString::constructor_void_
jmp 0x496718
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.0048c6c0
jmp 0x496807
push 8
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xd
je 0x49675d
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_OID::constructor_void_
jmp 0x49675f
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.00492fd0
jmp 0x496807
push 0x10
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xe
je 0x4967a4
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_TimeTicks::constructor_void_
jmp 0x4967a6
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.00494670
jmp 0x496807
push 8
call fcn.004993b2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x890], 0xf
je 0x4967e8
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_Null::constructor_void_
jmp 0x4967ea
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x488]
push ecx
push eax
mov byte [esp + 0x89c], 7
mov edi, eax
call fcn.004941b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4968df
lea ecx, [esp + 0x64]
call sym.Setup.exe_public:_void___thiscall_VarBind::constructor_void_
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x894], 0x10
call sym.Setup.exe_public:_int___thiscall_VarBind::setOID_class_OID__
push edi
lea ecx, [esp + 0x68]
call sym.Setup.exe_public:_int___thiscall_VarBind::setValue_class_SNMPDataType__
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
call sym.Setup.exe_private:_int___thiscall_TrapPDU::addVarBind_class_VarBind__
lea ecx, [esp + 0x64]
mov byte [esp + 0x890], 7
call sym.Setup.exe_public:_void___thiscall_VarBind::destructor_void_
lea ecx, [esp + 0x44]
mov byte [esp + 0x890], 6
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
cmp ebp, dword [esp + 0x5c]
jb 0x49646e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x890], 5
call sym.Setup.exe_public_virtual:_void___thiscall_TimeTicks::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_Integer::destructor_void_
lea ecx, [esp + 0x20]
mov byte [esp + 0x890], 0
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
lea ecx, [esp + 0x18]
mov dword [esp + 0x890], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
xor eax, eax
jmp 0x4961a7
lea ecx, [esp + 0x44]
mov byte [esp + 0x890], 6
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
lea ecx, [esp + 0x4c]
jmp 0x496406
lea ecx, [esp + 0x44]
mov byte [esp + 0x890], 6
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
lea ecx, [esp + 0x4c]
mov byte [esp + 0x890], 5
call sym.Setup.exe_public_virtual:_void___thiscall_TimeTicks::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x890], 1
call sym.Setup.exe_public_virtual:_void___thiscall_Integer::destructor_void_
lea ecx, [esp + 0x20]
mov byte [esp + 0x890], 0
call sym.Setup.exe_public_virtual:_void___thiscall_IPAddress::destructor_void_
lea ecx, [esp + 0x18]
mov dword [esp + 0x890], 0xffffffff
call sym.Setup.exe_public_virtual:_void___thiscall_OID::destructor_void_
mov eax, esi
jmp 0x4961a7