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

Disassembly:
push 0xffffffffffffffff
push 0x52e5dd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa4]
mov edi, ecx
xor esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], esi
push str..ServerToolkitChannel.cpp
push 0x23d
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
mov dword [esp + 0xa8], 2
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
mov ecx, ebx
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_void_]
push 0x57ea28
lea ecx, [esp + 0x78]
mov dword [esp + 0x58], 1
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_wchar_t_const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 3
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_void_]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov byte [esp + 0x9c], 4
cmp dword [edi + 0x48], esi
jne 0x4c9c51
lea eax, [esp + 0x58]
push eax
call fcn.005181b0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
mov dword [edi + 0x48], eax
jmp 0x4c9c79
push 0x57ea28
call ebp
mov esi, eax
mov eax, dword [edi + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov eax, dword [ecx + 0x104]
call eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call ebx
xor esi, esi
cmp dword [edi + 0x48], esi
je 0x4ca1b1
push str.RPCCallResponse
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
call ebp
mov ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [ecx + 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call edx
push edi
mov esi, eax
call ebx
test esi, esi
jl 0x4c9dd9
cmp dword [esp + 0x14], 0
je 0x4c9dd9
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0xc8]
mov ecx, 8
mov word [esp + 0x24], cx
cmp dword [esp + 0xdc], ecx
jae 0x4c9cfb
lea eax, [esp + 0xc8]
push eax
call ebp
push 0x547f88
mov dword [esp + 0x30], eax
call ebp
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, eax
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x40]
push edi
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xb4]
push ecx
call eax
push edi
mov esi, eax
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jl 0x4c9dcc
mov edx, 8
push 0x53c220
mov word [esp + 0x28], dx
call ebp
push str.Success
mov dword [esp + 0x30], eax
call ebp
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, eax
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x40]
push edi
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xb4]
push ecx
call eax
push edi
mov esi, eax
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jge 0x4c9df9
call fcn.004c6a00
mov edx, dword [eax]
push esi
push str.Error_0x_08x_occurred_creating_an_attribute_of_the_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
mov eax, dword [edx]
call eax
jmp 0x4c9df2
call fcn.004c6a00
push esi
push str.Error_0x_08x_occurred_creating_an_attribute_of_the_XML_DOM.
jmp 0x4c9de4
call fcn.004c6a00
push esi
push str.Error_0x_08x_occurred_creating_an_element_of_the_XML_DOM.
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
test esi, esi
jl 0x4c9e3e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb8]
call eax
mov esi, eax
test esi, esi
jl 0x4c9e3e
push str.Outputs
call ebp
mov ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [ecx + 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call edx
push edi
mov esi, eax
call ebx
jmp 0x4c9e5a
call fcn.004c6a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push esi
push str.Error_0x_08x_occurred_setting_root_element_of_the_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
test esi, esi
jl 0x4c9e7c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4c9e7c
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea esi, [esp + 0x38]
push esi
push ecx
push eax
mov eax, dword [edx + 0x54]
call eax
mov esi, eax
jmp 0x4c9e98
call fcn.004c6a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push esi
push str.Error_0x_08x_occurred_creating_an_element_of_the_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
test esi, esi
jl 0x4ca08f
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xa8]
mov ebx, dword [ecx]
mov dword [esp + 0x24], eax
nop
mov esi, dword [esp + 0xbc]
test eax, eax
je 0x4c9ed4
cmp eax, dword [esp + 0xa8]
je 0x4c9eda
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x4ca03b
push str.Value
call ebp
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [edx + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
mov eax, dword [ecx + 0xbc]
call eax
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jl 0x4c9fea
cmp dword [esp + 0x1c], 0
je 0x4c9fea
mov eax, dword [esp + 0x24]
mov ecx, 8
mov word [esp + 0x44], cx
test eax, eax
jne 0x4c9f4f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4c9f44
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x20], 8
jb 0x4c9f53
mov eax, dword [ebx + 0xc]
jmp 0x4c9f56
mov eax, dword [eax]
jmp 0x4c9f39
lea eax, [ebx + 0xc]
push eax
call ebp
push str.Data
mov dword [esp + 0x50], eax
call ebp
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, eax
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x60]
push edi
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xb4]
push ecx
call eax
mov esi, eax
test esi, esi
jl 0x4c9fc5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov esi, eax
test esi, esi
jge 0x4c9fe1
call fcn.004c6a00
push esi
push str.Error_0x_08x_occurred_appending_child_to_element_of_the_XML_DOM.
jmp 0x4c9fd0
call fcn.004c6a00
push esi
push str.Error_0x_08x_occurred_setting_an_attribute_of_the_XML_DOM.
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4ca006
call fcn.004c6a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push str.Error_0x_08x_occurred_creating_an_element_of_the_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4ca037
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4ca02c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x24]
jmp 0x4c9ec0
mov eax, dword [eax]
jmp 0x4ca021
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jl 0x4ca074
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4ca0ab
call fcn.004c6a00
mov edx, dword [eax]
push esi
push str.Error_0x_08x_occurred_while_getting_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
mov eax, dword [edx]
call eax
jmp 0x4ca0a8
call fcn.004c6a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push esi
push str.Error_0x_08x_occurred_appending_an_element_to_the_XML_DOM.
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
call edx
add esp, 0x14
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ca0bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ca0cb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ca0db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4ca0eb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ca0fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x18]
xor esi, esi
mov eax, dword [edi + 0x48]
cmp eax, esi
je 0x4ca113
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x48], esi
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x14]
push eax
push str.wsResponse.length__
push str..ServerToolkitChannel.cpp
push 0x310
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 3
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 ecx, [esp + 0x74]
mov byte [esp + 0x9c], 2
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 ecx, [esp + 0xa8]
mov byte [esp + 0x9c], 1
call fcn.0042ad90
lea ecx, [esp + 0xc4]
mov byte [esp + 0x9c], 0
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, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0051973e
add esp, 0x8c
ret 0x3c
call fcn.004c6a00
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x4ca1c5
lea ecx, [esp + 0x5c]
mov edx, dword [eax]
push ecx
push str.Error:___ls_
push str.ServerToolkit::CChannel::CreateRPCCallResponseMsg
push 1
push eax
mov eax, dword [edx]
call eax
add esp, 0x14
jmp 0x4ca101