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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push str..ReadHistoryReq.cpp
mov esi, ecx
mov ecx, dword [0x63dd80]
push 0x1d5
push str.pxpil::CReadHistoryReq::_BeforeExecute
mov dword [esp + 0x20], esi
call fcn.0041ac10
mov eax, dword [esi + 0x18]
xor edi, edi
push edi
push 0x63c610
push 0x63c2ec
push edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x34], edi
jne 0x474c23
mov ecx, dword [esi + 0x50]
mov edi, dword [ecx]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
nop
mov ebp, dword [esi + 0x50]
mov eax, dword [esi + 0x38]
test ebx, ebx
je 0x4746fe
cmp ebx, eax
je 0x474704
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x474c23
test ebx, ebx
jne 0x47484d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x474727
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [edi + 0x28]
mov dword [esp + 0x18], ebp
test ebx, ebx
jne 0x474854
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 0x18]
jne 0x474747
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x2c]
mov edx, dword [esi + 0x30]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x1c]
test ebx, ebx
je 0x474774
cmp ebx, eax
je 0x47477a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
je 0x4748e6
test ebx, ebx
jne 0x47485b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x4747a3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
push 0
push 0x63d430
push 0x63c250
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x474827
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov ecx, dword [0x63dd80]
push str..ReadHistoryPacket.cpp
push 0x8c
push str.pxpil::CReadHistoryPacket::Add
call fcn.0041ac10
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
push ebp
mov ecx, edi
call edx
mov ecx, dword [0x63dd80]
mov bl, al
movzx eax, bl
push eax
push str.bRetVal
push str..ReadHistoryPacket.cpp
push 0x92
push str.pxpil::CReadHistoryPacket::Add
call fcn.0041aca0
test bl, bl
jne 0x474866
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x474862
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x20]
cmp edi, dword [eax + 0x14]
jne 0x474842
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
jmp 0x474766
mov eax, dword [ebx]
jmp 0x47471c
mov ebx, dword [ebx]
jmp 0x47473c
mov eax, dword [ebx]
jmp 0x474794
mov eax, dword [ebx]
jmp 0x474833
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x58]
add esi, 0x58
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x40], eax
call fcn.00412fa0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x474894
cmp eax, dword [esp + 0x38]
je 0x47489a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 4], eax
jne 0x4748de
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x84]
push ecx
mov ebx, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
call fcn.00474e10
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x1c]
test ebx, ebx
je 0x4748f4
cmp ebx, eax
je 0x4748fa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
jne 0x474c09
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, eax
test edi, edi
je 0x474bee
mov ecx, dword [esi + 0xb0]
mov dword [edi + 0x68], ecx
mov eax, dword [esi + 0xb0]
sub eax, 0
je 0x474a67
sub eax, 1
je 0x474a27
sub eax, 1
jne 0x474aae
mov ebp, dword [esi + 0x84]
cmp ebp, dword [esi + 0x88]
jbe 0x474957
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0x78]
mov dword [esp + 0x50], esi
mov edi, edi
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x84], eax
jbe 0x47497c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x78]
test esi, esi
je 0x474987
cmp esi, eax
je 0x47498d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x48]
je 0x474aa8
test esi, esi
jne 0x474a1f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x10]
jb 0x4749b0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [0x63dd80]
mov esi, dword [ebp]
mov ebx, dword [ebp + 4]
push str..ReadHistoryPacket.cpp
push 0x6c
push str.pxpil::CReadHistoryPacket::AddTimeStamp
call fcn.0041ac10
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push ebx
push esi
mov ecx, edi
call eax
movzx ecx, al
push ecx
mov ecx, dword [0x63dd80]
push str.bRetVal
push str..ReadHistoryPacket.cpp
push 0x72
push str.pxpil::CReadHistoryPacket::AddTimeStamp
call fcn.0041aca0
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x474a23
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x474a13
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x50]
add ebp, 8
jmp 0x474960
mov esi, dword [esi]
jmp 0x4749a5
mov eax, dword [eax]
jmp 0x474a08
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x90]
push eax
push ecx
push edx
mov esi, edi
call fcn.0047a010
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa0]
push ecx
push edx
call fcn.0047a0e0
mov esi, dword [esp + 0x14]
jmp 0x474aae
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
push eax
mov eax, dword [esi + 0x90]
push ecx
push edx
push eax
mov esi, edi
call fcn.0047a010
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xac]
movzx edx, byte [eax + 0xa8]
push ecx
push edx
call fcn.0047a080
mov esi, dword [esp + 0x14]
jmp 0x474aae
mov ebp, dword [esp + 0x18]
mov esi, ebx
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov ecx, dword [0x63dd80]
push str..ReadHistoryPacket.cpp
push 0x8c
push str.pxpil::CReadHistoryPacket::Add
call fcn.0041ac10
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push ecx
push ebp
mov ecx, edi
call edx
mov ecx, dword [0x63dd80]
mov bl, al
movzx eax, bl
push eax
push str.bRetVal
push str..ReadHistoryPacket.cpp
push 0x92
push str.pxpil::CReadHistoryPacket::Add
call fcn.0041aca0
test bl, bl
je 0x474bc8
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ebx, dword [esi + 0x30]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
mov dword [esp + 0x24], edi
call fcn.004645f0
lea ecx, [esi + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00415da0
mov eax, dword [esp + 0x18]
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x58]
add esi, 0x58
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x48], eax
call fcn.00412fa0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x474b73
cmp eax, dword [esp + 0x40]
je 0x474b79
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
cmp dword [ebx + 4], eax
jne 0x474be3
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [esp + 0x90]
push ecx
mov ebx, esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edi
call fcn.00474e10
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
jmp 0x474c09
mov eax, dword [0x63dd80]
mov edx, dword [eax]
push str.Demand_request_failed_to_add_item_to_packet.
push str.pxpil::CReadHistoryReq::_BeforeExecute
push 8
push eax
mov eax, dword [edx]
call eax
add esp, 0x10
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
jmp 0x474c09
mov eax, dword [0x63dd80]
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.ERROR:_Out_of_memory_at_allocation_of_it_for_new_ReadHistoryPacket.
push str.pxpil::CReadHistoryReq::_BeforeExecute
push 1
push eax
call edx
add esp, 0x10
lea esi, [esp + 0x30]
call fcn.00470960
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
jmp 0x4746f0
mov ecx, dword [0x63dd80]
push 0
push 0x5d1d25
push str..ReadHistoryReq.cpp
push 0x240
push str.pxpil::CReadHistoryReq::_BeforeExecute
call fcn.0041aca0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret