Function at 0x40ccb0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x516512
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbc]
mov esi, ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x30], eax
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMXmlRapidParse::constructor_void_]
xor ebx, ebx
push str.DLPLATFORM
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], ebx
call dword [sym.imp.MSVCP80.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 + 0x50]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 1
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::CreateRootElement_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x50]
mov edi, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp edi, ebx
jne 0x40cd64
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::destructor_void_]
xor al, al
jmp 0x40cfd7
cmp word [esi], bx
jbe 0x40cdde
push str.PORT
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 edx, [esp + 0x14]
push edx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 2
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebp, ebx
je 0x40cdde
movzx eax, word [esi]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMStringUtils::ConvertUInt32ToString_unsigned_int_]
add esp, 8
push eax
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 3
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esi + 0xc], ebx
ja 0x40cde8
cmp dword [esi + 8], ebx
jbe 0x40ce61
push 0x52fe3c
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 edx, [esp + 0x14]
push edx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 4
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebp, ebx
je 0x40ce61
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMStringUtils::ConvertUInt64ToString_unsigned_long_long_unsigned___int64__]
add esp, 0xc
push eax
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 5
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esi + 0x24], ebx
je 0x40ceb3
push str.PATH
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 6
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebp, ebx
je 0x40ceb3
lea ecx, [esi + 0x10]
push ecx
push ebp
lea ecx, [esp + 0x74]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esi + 0x40], ebx
je 0x40cf05
push str.EVENT
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 edx, [esp + 0x14]
push edx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 7
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebp, ebx
je 0x40cf05
lea eax, [esi + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x74]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esi + 0x5c], ebx
je 0x40cf57
push str.EXIT_EVENT
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 + 0x14]
push ecx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 8
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebp, ebx
je 0x40cf57
lea edx, [esi + 0x48]
push edx
push ebp
lea ecx, [esp + 0x74]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esi + 0x78], ebx
je 0x40cfa9
push 0x52fe04
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.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 eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 9
call dword [sym.imp.K8Common.dll_public_virtual:_void____thiscall_GameMgr::GMXmlRapidParse::AddChildElement_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov edi, eax
mov byte [esp + 0xb4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp edi, ebx
je 0x40cfa9
add esi, 0x64
push esi
push edi
lea ecx, [esp + 0x74]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::AddElementValue_void___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, 0x80
push ecx
lea ecx, [esp + 0x70]
call dword [sym.imp.K8Common.dll_public_virtual:_bool___thiscall_GameMgr::GMXmlRapidParse::SaveFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x6c]
mov bl, al
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMXmlRapidParse::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00515015
add esp, 0xa4
ret 4