Function at 0x4397d0
Capabilities:
Encode data using xor
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b5748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push eax
push ecx
lea edx, [esp + 0x10]
push str._sMyGame__s.dat
push edx
mov dword [esp + 0x80], 0
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x18]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x439853
lea ecx, [esp + 8]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
push ebp
push esi
push edi
push str._MyGame__n
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 8]
mov byte [esp + 0x7c], 1
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [ebx + 0x18]
mov ecx, eax
mov dword [esp + 0x88], eax
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
cmp esi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x4c], ecx
je 0x439a5a
mov ebp, dword [sym.imp.MSVCRT.dll__itoa]
mov ebx, 4
mov eax, dword [esi + 8]
lea edx, [esp + 0x60]
push 0xa
push edx
push eax
call ebp
add esp, 0xc
lea ecx, [esi + 4]
lea edx, [esp + 0x38]
push 0x4d8250
push ecx
push edx
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x84], 2
push eax
call sub.MFC42.DLL_operator_2
push 0x4d8250
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x88], 3
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x60]
mov byte [esp + 0x7c], bl
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator_1
push 0x4d824c
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x88], 5
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x88], 6
call sub.MFC42.DLL_operator_2
push 0x4d7b24
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x84], 7
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x60]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x88], 8
call sub.MFC42.DLL_operator_1
push 0x4d65e0
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x84], 9
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x7c], 8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::CString
add esi, 0x10
cmp esi, edi
jne 0x439a34
mov eax, dword [esp + 0x5c]
add eax, ebx
mov dword [esp + 0x5c], eax
mov esi, dword [eax]
lea edi, [esi + 0x1000]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
cmp esi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x4c], ecx
jne 0x4398b5
mov edx, dword [esp + 0x10]
mov ebx, dword [edx - 8]
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov ebp, eax
mov eax, ecx
mov edi, ebp
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x88], 0x42
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
test ebx, ebx
jle 0x439ac4
mov dl, byte [ecx + ebp]
mov al, cl
mov byte [esp + 0x84], dl
mov dl, 0xa
imul dl
mov dl, al
mov al, byte [esp + 0x88]
add dl, al
mov al, byte [esp + 0x84]
xor dl, al
mov byte [esp + 0x88], al
mov byte [ecx + ebp], dl
inc ecx
cmp ecx, ebx
jl 0x439a91
mov esi, dword [esp + 0x3c]
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 8