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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5906a3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x46f77c
cmp dword [ebp + 0x74], eax
jbe 0x46f418
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
lea ecx, [ecx]
mov ebx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x38]
test esi, esi
je 0x46efae
cmp esi, eax
je 0x46efb4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x46f05e
test esi, esi
jne 0x46f053
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x46efd7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0xc]
mov byte [esp + 0x78], 0
mov byte [esp + 0x79], 0
test esi, esi
jne 0x46f05a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 0x18]
jne 0x46eff9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], eax
lea eax, [ebp + 0x58]
lea ebx, [esp + 0x5c]
lea esi, [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], ecx
call fcn.0046fd10
lea esi, [esp + 0x18]
call fcn.0046cc30
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x46efa0
mov eax, dword [esi]
jmp 0x46efcc
mov esi, dword [esi]
jmp 0x46efee
lea edx, [esp + 0x37]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0046fdc0
mov dword [esp + 0xa8], 1
mov eax, dword [ebp + 0x70]
mov eax, dword [eax]
mov esi, dword [ebp + 0x58]
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
mov ebx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x58]
test esi, esi
je 0x46f09e
cmp esi, eax
je 0x46f0a4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x46f158
test esi, esi
jne 0x46f151
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x46f0c7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x5c]
push edx
call fcn.00401fb0
mov byte [esp + 0xa8], 2
push eax
lea ecx, [esp + 0x7c]
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__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0xa8], 3
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
mov byte [esp + 0xa8], 4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x7c]
lea ebx, [esp + 0x2c]
call fcn.0046fe50
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x78]
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 byte [esp + 0xa8], 1
lea ecx, [esp + 0x5c]
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_]
lea esi, [esp + 0x18]
call fcn.004707f0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x46f090
mov eax, dword [esi]
jmp 0x46f0bc
mov ecx, dword [esp + 0x54]
mov edi, dword [ecx]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
lea ebx, [ebx]
mov ebx, dword [esp + 0x54]
test esi, esi
je 0x46f17e
cmp esi, dword [esp + 0x3c]
je 0x46f184
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x46f3ff
test esi, esi
jne 0x46f316
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 0x18]
jne 0x46f1a5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
test ebx, ebx
jne 0x46f31d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x46f1c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
test ebx, ebx
jne 0x46f324
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 0x18]
jne 0x46f1e2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x14]
xor ebp, ebp
cmp byte [edi + 0x10], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebp
je 0x46f1fc
lea eax, [edi + 0x18]
mov dword [esp + 0x38], eax
cmp byte [edi + 0x11], 0
je 0x46f205
lea ebp, [edi + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
mov ebx, dword [eax + 0x1c]
add eax, 0x1c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebx
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x30]
add eax, 0x1c
mov eax, dword [eax]
test ebx, ebx
je 0x46f234
cmp ebx, eax
je 0x46f23a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x1c], edi
je 0x46f336
test ebx, ebx
jne 0x46f32b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x46f263
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
push 0
push 0x63ced0
push 0x63c250
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x46f2f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [0x63dd80]
push str..WritePacket.cpp
push 0x14a
push str.pxpil::CWritePacket::Add
call fcn.0041ac10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
push ebp
push eax
push ecx
push esi
mov ecx, edi
call edx
mov ecx, dword [0x63dd80]
mov bl, al
movzx eax, bl
push eax
push str.bRetVal
push str..WritePacket.cpp
push 0x14e
push str.pxpil::CWritePacket::Add
call fcn.0041aca0
test bl, bl
jne 0x46f3e9
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x46f332
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x14]
jne 0x46f30b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi]
mov dword [esp + 0x1c], ecx
jmp 0x46f220
mov esi, dword [esi]
jmp 0x46f19a
mov eax, dword [ebx]
jmp 0x46f1bb
mov ebx, dword [ebx]
jmp 0x46f1d7
mov eax, dword [ebx]
jmp 0x46f254
mov eax, dword [ebx]
jmp 0x46f2fc
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
push 0
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [0x63dd80]
push str..WritePacket.cpp
push 0x14a
push str.pxpil::CWritePacket::Add
call fcn.0041ac10
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
push ebp
push ecx
push edx
push esi
mov ecx, edi
call eax
mov bl, al
movzx ecx, bl
push ecx
mov ecx, dword [0x63dd80]
push str.bRetVal
push str..WritePacket.cpp
push 0x14e
push str.pxpil::CWritePacket::Add
call fcn.0041aca0
test bl, bl
je 0x46f3e0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp + 0x30]
mov edx, dword [esi + 4]
add ebp, 0x1c
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
mov dword [esp + 0x2c], edi
call fcn.004645f0
mov ecx, ebp
mov ebx, eax
call fcn.00415da0
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
lea esi, [esp + 0x28]
call fcn.00470960
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x46f170
mov dword [esp + 0xa8], 7
lea esi, [esp + 0x3c]
call fcn.00475150
jmp 0x46f764
test eax, eax
jne 0x46f77c
lea edx, [esp + 0x3c]
push edx
call fcn.00474d10
mov dword [esp + 0xa8], 0xc
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov esi, dword [ebp + 0x38]
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov ebx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x38]
test esi, esi
je 0x46f455
cmp esi, eax
je 0x46f45b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x46f4f5
test esi, esi
jne 0x46f4ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 0x18]
jne 0x46f47c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x5c]
push eax
call fcn.00401fb0
mov byte [esp + 0xa8], 0xd
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edi, [esp + 0x20]
call fcn.00474fc0
mov byte [esp + 0xa8], 0xe
lea edx, [esp + 0x3c]
push edx
lea ebx, [esp + 0x2c]
call fcn.0046fe50
mov byte [esp + 0xa8], 0xd
lea ecx, [esp + 0x78]
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 byte [esp + 0xa8], 0xc
lea ecx, [esp + 0x5c]
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 esi, edi
call fcn.0046cc30
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x46f447
mov esi, dword [esi]
jmp 0x46f471
mov eax, dword [esp + 0x54]
mov edi, dword [eax]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x54]
test esi, esi
je 0x46f515
cmp esi, dword [esp + 0x3c]
je 0x46f51b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x46f750
test esi, esi
jne 0x46f675
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 0x18]
jne 0x46f53c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0x28]
mov ebx, dword [edi + 0x2c]
test esi, esi
jne 0x46f67c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x46f55d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 0xc]
test esi, esi
jne 0x46f683
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x18]
jne 0x46f579
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x10]
mov edx, dword [eax + 0x30]
mov ebp, dword [eax + 0x1c]
add eax, 0x1c
mov dword [esp + 0x20], ecx
mov ecx, dword [edx]
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x30]
add eax, 0x1c
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x46f5a7
cmp ebp, eax
je 0x46f5ad
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x1c], esi
je 0x46f697
test ebp, ebp
jne 0x46f68a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x14]
jne 0x46f5d6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
push 0
push 0x63ced0
push 0x63c250
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x46f657
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [0x63dd80]
push str..WritePacket.cpp
push 0x6f
push str.pxpil::CWritePacket::Add
call fcn.0041ac10
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push edi
mov ecx, esi
call edx
mov ecx, dword [0x63dd80]
mov bl, al
movzx eax, bl
push eax
push str.bRetVal
push str..WritePacket.cpp
push 0x73
push str.pxpil::CWritePacket::Add
call fcn.0041aca0
test bl, bl
jne 0x46f73a
mov ebx, dword [esp + 0x1c]
test ebp, ebp
jne 0x46f692
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x46f66e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx]
jmp 0x46f58f
mov esi, dword [esi]
jmp 0x46f531
mov eax, dword [esi]
jmp 0x46f552
mov esi, dword [esi]
jmp 0x46f56e
mov eax, dword [ebp]
jmp 0x46f5c7
mov eax, dword [ebp]
jmp 0x46f663
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
push 0
call eax
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [0x63dd80]
push str..WritePacket.cpp
push 0x6f
push str.pxpil::CWritePacket::Add
call fcn.0041ac10
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push edi
mov ecx, esi
call edx
mov ecx, dword [0x63dd80]
mov bl, al
movzx eax, bl
push eax
push str.bRetVal
push str..WritePacket.cpp
push 0x73
push str.pxpil::CWritePacket::Add
call fcn.0041aca0
test bl, bl
je 0x46f731
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edi, dword [ebp + 0x30]
mov edx, dword [edi + 4]
add ebp, 0x1c
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
mov dword [esp + 0x2c], esi
call fcn.004645f0
mov ecx, ebp
mov ebx, eax
call fcn.00415da0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea esi, [esp + 0x28]
call fcn.00470960
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x46f507
mov dword [esp + 0xa8], 0x11
lea esi, [esp + 0x3c]
call fcn.00475150
mov dword [esp + 0xa8], 0xffffffff
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret