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

Disassembly:
push 0xffffffffffffffff
push 0x58811d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
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.0050c9d0
mov ecx, eax
call fcn.0041ac10
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 0x5d1aa8
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 0x50f721
lea eax, [esp + 0x58]
push eax
call fcn.0051dee0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
mov dword [edi + 0x48], eax
jmp 0x50f749
push 0x5d1aa8
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 0x50fc81
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 0x50f8a9
cmp dword [esp + 0x14], 0
je 0x50f8a9
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 0x50f7cb
lea eax, [esp + 0xc8]
push eax
call ebp
push 0x5b4aa0
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 0x50f89c
mov edx, 8
push 0x599824
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 0x50f8c9
call fcn.0050c9d0
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 0x50f8c2
call fcn.0050c9d0
push esi
push str.Error_0x_08x_occurred_creating_an_attribute_of_the_XML_DOM.
jmp 0x50f8b4
call fcn.0050c9d0
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 0x50f90e
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 0x50f90e
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 0x50f92a
call fcn.0050c9d0
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 0x50f94c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x50f94c
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 0x50f968
call fcn.0050c9d0
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 0x50fb5f
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 0x50f9a4
cmp eax, dword [esp + 0xa8]
je 0x50f9aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x50fb0b
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 0x50faba
cmp dword [esp + 0x1c], 0
je 0x50faba
mov eax, dword [esp + 0x24]
mov ecx, 8
mov word [esp + 0x44], cx
test eax, eax
jne 0x50fa1f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x50fa14
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x20], 8
jb 0x50fa23
mov eax, dword [ebx + 0xc]
jmp 0x50fa26
mov eax, dword [eax]
jmp 0x50fa09
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 0x50fa95
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 0x50fab1
call fcn.0050c9d0
push esi
push str.Error_0x_08x_occurred_appending_child_to_element_of_the_XML_DOM.
jmp 0x50faa0
call fcn.0050c9d0
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 0x50fad6
call fcn.0050c9d0
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 0x50fb07
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x50fafc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x24]
jmp 0x50f990
mov eax, dword [eax]
jmp 0x50faf1
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 0x50fb44
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 0x50fb7b
call fcn.0050c9d0
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 0x50fb78
call fcn.0050c9d0
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 0x50fb8b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50fb9b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x50fbab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x50fbbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50fbcb
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 0x50fbe3
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.0050c9d0
mov ecx, eax
call fcn.0041aca0
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.0044ee20
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.0051ed00
add esp, 0x8c
ret 0x3c
call fcn.0050c9d0
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x50fc95
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 0x50fbd1