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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dc20
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
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], 0x567ba4
mov dword [ebx - 0xbc], 0x567b9c
mov dword [ebx - 0xb8], 0x567b80
mov ecx, dword [eax + 4]
mov dword [ecx + ebx - 0xb4], 0x567b70
push str..ServerToolkitNode.cpp
push 0x8e
push str.ServerToolkit::CNode::CNode
mov dword [esp + 0x8c], 3
call fcn.004c6a00
mov ecx, eax
call fcn.00402490
lea ecx, [esp + 0x20]
call fcn.00429e40
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 4
call fcn.00429e40
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 0x4c625e
cmp esi, eax
je 0x4c6264
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x4c62c1
test esi, esi
jne 0x4c62bd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x4c627d
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.004285f0
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00428110
mov dword [edi], esi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
mov dword [eax], esi
call fcn.0048c010
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4c6250
mov esi, dword [esi]
jmp 0x4c6272
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 0x4c62e1
cmp esi, eax
je 0x4c62e7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x4c6344
test esi, esi
jne 0x4c6340
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x4c6300
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.004285f0
push 1
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.00428110
mov dword [edi], esi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
mov dword [edx], esi
call fcn.0048c010
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4c62d4
mov esi, dword [esi]
jmp 0x4c62f5
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 0x4c636e
cmp esi, dword [esp + 0x20]
je 0x4c6374
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x4c63ca
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x4c63c2
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4c638d
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.004c39f0
test esi, esi
jne 0x4c63c6
call ebp
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4c63be
call ebp
mov edi, dword [edi]
jmp 0x4c6360
mov eax, dword [esi]
jmp 0x4c6386
mov eax, dword [esi]
jmp 0x4c63b7
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 0x4c6407
nop
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebp
call fcn.004c27a0
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 0x4c63e0
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 0x4c6437
lea edx, [esp + 0x3c]
mov dword [eax], edx
jmp 0x4c6439
xor eax, eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 6
call fcn.004c2740
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.0042b6f0
mov ecx, dword [esp + 0x34]
add ecx, 0xffffff48
call fcn.004c3c10
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + 4]
cmp byte [edi + 0x2d], 0
mov esi, edi
jne 0x4c64ba
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebx
call fcn.004c27a0
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 0x4c6493
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 0x4c64e3
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 0x4c6500
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
push 0x57ef93
push str..ServerToolkitNode.cpp
push 0xc2
push str.ServerToolkit::CNode::CNode
call fcn.004c6a00
mov ecx, eax
call fcn.00402520
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 0x4c6555
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 0x4c6540
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 0x4c65b0
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 0x4c6590
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 0x4c6610
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 0x4c65f0
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.004c60f0
lea ecx, [ebp - 0x58]
mov byte [esp + 0x80], 1
call fcn.004c32f0
mov ecx, ebx
mov byte [esp + 0x80], 0
call fcn.004c32f0
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