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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5931d9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ecx, dword [0x63dd80]
push str..DevLink.cpp
push 0x36e
push str.pxpil::CDevLink::_Optimize
call fcn.0041ac10
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00405e90
mov dword [esp + 0x80], 0
cmp dword [eax + 0x18], 8
jb 0x4508bf
mov ecx, dword [eax + 4]
jmp 0x4508c2
lea ecx, [eax + 4]
mov eax, dword [0x63dd80]
mov edx, dword [eax]
push ecx
push str.__ls__re_optimizing
push str.pxpil::CDevLink::_Optimize
push 3
push eax
mov eax, dword [edx]
call eax
add esp, 0x14
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [edi + 0x9c]
mov eax, dword [eax]
mov ebx, dword [edi + 0x88]
lea ebp, [edi + 0x88]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
test ebx, ebx
je 0x450919
cmp ebx, eax
je 0x45091f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x1c], esi
je 0x4509d9
test ebx, ebx
jne 0x4509ce
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x450948
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x63dd80]
mov edi, dword [edx + 8]
push str..Packet.cpp
push 0x8b
push str.pxpil::CPacket::Disconnect
call fcn.0041ac10
cmp byte [edi + 0xc], 0
je 0x45097e
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push 1
mov ecx, edi
call edx
mov byte [edi + 0xc], 0
mov ecx, dword [0x63dd80]
push 0
push 0x5d1d25
push str..Packet.cpp
push 0x94
push str.pxpil::CPacket::Disconnect
call fcn.0041aca0
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test ebx, ebx
jne 0x4509d5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x14]
jne 0x4509c3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov edi, dword [esp + 0x14]
jmp 0x450907
mov eax, dword [ebx]
jmp 0x450939
mov eax, dword [ebx]
jmp 0x4509b4
lea ecx, [esp + 0x20]
push ecx
call fcn.00410c80
mov dword [esp + 0x80], 1
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.004576c0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
call fcn.00457080
mov bl, 2
mov byte [esp + 0x80], bl
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.00457320
mov byte [esp + 0x80], 3
cmp ebp, eax
je 0x450a48
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov edx, dword [ecx]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push eax
push ecx
mov esi, ebp
call fcn.00415b90
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], 0
cmp eax, ecx
je 0x450a85
nop
mov edi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, edi
cmp edi, ecx
jne 0x450a70
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x6c], 0
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x58]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [ebp]
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp]
test esi, esi
je 0x450ac6
cmp esi, eax
je 0x450acc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x450b85
test esi, esi
jne 0x450b33
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x450aeb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [0x63dd80]
mov edi, dword [ebx + 8]
push str..Packet.cpp
push 0x61
push str.pxpil::CPacket::Connect
call fcn.0041ac10
xor bl, bl
cmp byte [edi + 0xc], bl
jne 0x450b37
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
test al, al
je 0x450b28
mov byte [edi + 0xc], 1
mov bl, 1
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
jmp 0x450b39
mov eax, dword [esi]
jmp 0x450ae0
mov bl, 1
mov ecx, dword [0x63dd80]
movzx eax, bl
push eax
push str.bRetVal
push str..Packet.cpp
push 0x77
push str.pxpil::CPacket::Connect
call fcn.0041aca0
test esi, esi
jne 0x450b81
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x14]
jne 0x450b74
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi]
mov dword [esp + 0x1c], ecx
mov ebx, ecx
jmp 0x450ab8
mov eax, dword [esi]
jmp 0x450b65
mov ecx, dword [0x63dd80]
push 0
push 0x5d1d25
push str..DevLink.cpp
push 0x38d
push str.pxpil::CDevLink::_Optimize
call fcn.0041aca0
mov byte [esp + 0x80], 8
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x50]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x50]
xor edi, edi
mov dword [esp + 0x54], edi
cmp eax, ecx
je 0x450be5
jmp 0x450bd0
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x54]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x450bd0
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], edi
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x80], 0xc
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], edi
cmp eax, ecx
je 0x450c45
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x450c30
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret