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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x587960
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 ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx - 0xb4]
mov dword [ebx - 0xc0], 0x5b4c14
mov dword [ebx - 0xbc], 0x5b4c0c
mov dword [ebx - 0xb8], 0x5b4bf0
mov ecx, dword [eax + 4]
mov dword [ecx + ebx - 0xb4], 0x5b4be0
push str..ServerToolkitNode.cpp
push 0x8e
push str.ServerToolkit::CNode::CNode
mov dword [esp + 0x8c], 3
call fcn.0050c9d0
mov ecx, eax
call fcn.0041ac10
lea ecx, [esp + 0x20]
call fcn.0047d210
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 4
call fcn.0047d210
lea eax, [ebx - 0xb0]
push eax
mov byte [esp + 0x84], 5
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx - 0x40]
mov ebp, dword [eax]
mov esi, dword [ebx - 0x58]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov edi, dword [ebx - 0x40]
mov eax, dword [ebx - 0x58]
test esi, esi
je 0x50c22e
cmp esi, eax
je 0x50c234
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x50c291
test esi, esi
jne 0x50c28d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x50c24d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
add ebp, 0xc
push ebp
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f770
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.0044f820
mov dword [edi], esi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
mov dword [eax], esi
call fcn.0049eb80
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x50c220
mov esi, dword [esi]
jmp 0x50c242
mov eax, dword [ebx - 0x60]
mov ebp, dword [eax]
mov esi, dword [ebx - 0x78]
add ebx, 0xffffff88
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx]
test esi, esi
je 0x50c2b1
cmp esi, eax
je 0x50c2b7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x50c314
test esi, esi
jne 0x50c310
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x50c2d0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
add ebp, 0xc
push ebp
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0044f770
push 1
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.0044f820
mov dword [edi], esi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
mov dword [edx], esi
call fcn.0047dfe0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x50c2a4
mov esi, dword [esi]
jmp 0x50c2c5
mov eax, dword [esp + 0x14]
add eax, 0xffffff50
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
mov esi, dword [esp + 0x20]
mov edi, edi
mov ebp, dword [esp + 0x34]
test esi, esi
je 0x50c33e
cmp esi, dword [esp + 0x20]
je 0x50c344
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x50c39a
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x50c392
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x50c35d
call ebp
sub esp, 0x1c
lea edx, [edi + 8]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
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 ecx, dword [esp + 0x30]
add ecx, 0xffffff40
call fcn.00509a70
test esi, esi
jne 0x50c396
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x50c38e
call ebp
mov edi, dword [edi]
jmp 0x50c330
mov eax, dword [esi]
jmp 0x50c356
mov eax, dword [esi]
jmp 0x50c387
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0x40]
mov edi, dword [eax + 4]
add ebp, 0xffffffa8
cmp byte [edi + 0x2d], 0
mov esi, edi
jne 0x50c3d7
nop
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebp
call fcn.00508620
mov esi, dword [esi]
lea ecx, [edi + 0xc]
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_]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esi + 0x2d], 0
mov edi, esi
je 0x50c3b0
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], 0
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
push 4
mov dword [eax + 8], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x50c407
lea edx, [esp + 0x3c]
mov dword [eax], edx
jmp 0x50c409
xor eax, eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 6
call fcn.00432910
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x3c]
push eax
sub esp, 0x1c
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0xa4], 7
call fcn.0044ed60
mov ecx, dword [esp + 0x34]
add ecx, 0xffffff48
call fcn.00509c90
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + 4]
cmp byte [edi + 0x2d], 0
mov esi, edi
jne 0x50c48a
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebx
call fcn.00471b20
mov esi, dword [esi]
lea ecx, [edi + 0xc]
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_]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esi + 0x2d], 0
mov edi, esi
je 0x50c463
mov eax, dword [ebx + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], ebp
mov ebp, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp eax, edi
je 0x50c4b3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x50c4d0
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
push 0x5d1d25
push str..ServerToolkitNode.cpp
push 0xc2
push str.ServerToolkit::CNode::CNode
call fcn.0050c9d0
mov ecx, eax
call fcn.0041aca0
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]
mov dword [esp + 0x54], edi
cmp eax, ecx
je 0x50c525
lea esp, [esp]
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 0x50c510
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x58], edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, dword [esp + 0x6c]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x6c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x80], 8
mov dword [esp + 0x70], edi
cmp esi, eax
je 0x50c580
nop
mov edi, dword [esi]
lea ecx, [esi + 8]
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_]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x70]
add esp, 4
mov esi, edi
cmp edi, eax
jne 0x50c560
xor edi, edi
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x5c]
push edx
mov dword [esp + 0x74], edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x80], 9
mov dword [esp + 0x38], edi
cmp esi, eax
je 0x50c5e0
lea ebx, [ebx]
mov edi, dword [esi]
lea ecx, [esi + 8]
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_]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x38]
add esp, 4
mov esi, edi
cmp edi, eax
jne 0x50c5c0
xor edi, edi
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x3c], edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [ebp - 0x38]
mov byte [esp + 0x80], 2
call fcn.0050c0c0
lea ecx, [ebp - 0x58]
mov byte [esp + 0x80], 1
call fcn.005094b0
mov ecx, ebx
mov byte [esp + 0x80], 0
call fcn.00509350
lea ecx, [ebp - 0x98]
mov dword [esp + 0x80], 0xffffffff
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 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