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

Disassembly:
push 0xffffffffffffffff
push 0x492998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 7
xor ebx, ebx
mov ebp, 0xf
push str.VERSION
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404090
mov edi, dword [esp + 0x7c]
push 1
lea eax, [esp + 0x18]
push eax
call fcn.0042a630
cmp dword [esp + 0x2c], 0x10
jb 0x41f3d3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00459ea4
add esp, 4
mov esi, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
add esi, 0xc
mov edi, edi
push 3
push 0x497a74
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404090
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x7c], ebx
call fcn.0042a4a0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x2c], 0x10
mov edi, eax
jb 0x41f432
mov edx, dword [esp + 0x18]
push edx
call fcn.00459ea4
add esp, 4
push 5
push str.SCORE
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
mov eax, dword [esi - 8]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a630
cmp dword [esp + 0x48], 0x10
jb 0x41f47c
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
push 5
push str.STAGE
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
mov eax, dword [esi - 4]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a630
cmp dword [esp + 0x48], 0x10
jb 0x41f4ba
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
push 4
push str.TYPE
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a630
cmp dword [esp + 0x48], 0x10
jb 0x41f4f7
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
push 6
push str.OPTION
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a630
cmp dword [esp + 0x48], 0x10
jb 0x41f535
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
push 6
push str.REPLAY
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a630
cmp dword [esp + 0x48], 0x10
jb 0x41f573
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
push 4
push str.NAME
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404090
push 0x10
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0042a9a0
cmp dword [esp + 0x48], 0x10
jb 0x41f5b3
mov edx, dword [esp + 0x34]
push edx
call fcn.00459ea4
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 1
add esi, 0x24
cmp eax, 0x64
mov dword [esp + 0x10], eax
jl 0x41f3e0
push 0xb
push str.GLOBALFLAG2
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00404090
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edi, dword [esp + 0x7c]
push 0x400
add ecx, 0x400
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0042a9a0
cmp dword [esp + 0x64], 0x10
pop edi
pop esi
pop ebp
pop ebx
jb 0x41f61e
mov eax, dword [esp + 0x40]
push eax
call fcn.00459ea4
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8