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

Disassembly:
push 0xffffffffffffffff
push 0x42a26d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x390
mov eax, dword [esp + 0x3a0]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x43545c
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], 1
call fcn.0040c872
lea esi, [ebp + 0x74]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x38]
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], edi
push eax
push ecx
mov ecx, esi
call fcn.004086d0
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.00409f90
lea ecx, [esp + 0x1b]
xor ebx, ebx
push ecx
lea edx, [esp + 0x16]
push ebx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a4], bl
call fcn.0040a320
cmp edi, ebx
mov dword [esp + 0x3a8], ebx
je 0x4075f6
push edi
lea eax, [esp + 0x2a0]
push 0x104
push eax
call fcn.0040da58
add esp, 0xc
test eax, eax
je 0x4075ed
lea ecx, [esp + 0x94]
lea edx, [esp + 0x29c]
push ecx
push 0x435458
push edx
call fcn.0040da24
mov al, byte [esp + 0xa0]
add esp, 0xc
cmp al, bl
je 0x4075cf
lea eax, [esp + 0x94]
lea ecx, [esp + 0x198]
push eax
push 0x435450
push ecx
call fcn.0040d80f
mov dl, byte [esp + 0x1e]
add esp, 0xc
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
push ebx
call fcn.00403550
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00403aa0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b0], 1
call fcn.0040a430
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
cmp eax, edx
push 1
lea ecx, [esp + 0x54]
mov edi, eax
setne byte [esp + 0x17]
mov byte [esp + 0x3ac], bl
call fcn.00403550
cmp byte [esp + 0x13], bl
je 0x4074c6
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x74]
push ebx
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
call fcn.00408750
mov edi, dword [eax]
push ebx
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
lea ecx, [edi + 8]
call fcn.00404940
push edi
call fcn.0040c458
mov eax, dword [esi + 8]
add esp, 4
dec eax
mov dword [esi + 8], eax
mov dl, byte [esp + 0x12]
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], dl
call fcn.00403550
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00403aa0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x74]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x3b4], 2
call fcn.00409f30
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x3ac], bl
call fcn.00403550
mov eax, dword [ebp + 0x78]
push ebx
lea ecx, [esp + 0x20]
mov ebp, dword [eax + 4]
mov al, byte [esp + 0x16]
mov byte [esp + 0x20], al
call fcn.00403550
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403aa0
lea edx, [esp + 0x34]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x3b0], 3
call fcn.0040a4e0
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b0], 4
call fcn.0040a220
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x3ac], 3
call fcn.00403550
push 1
lea ecx, [esp + 0x20]
mov dword [edi + 0x1c], ebp
mov byte [esp + 0x3ac], bl
call fcn.00403550
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x14]
push edi
lea edx, [esp + 0x2a0]
push 0x104
push edx
call fcn.0040da58
add esp, 0xc
test eax, eax
jne 0x4073c4
push edi
call fcn.0040c57a
add esp, 4
cmp dword [ebp + 0x7c], ebx
je 0x407633
lea eax, [esp + 0x198]
push eax
call fcn.0040c0b0
add esp, 4
test al, al
je 0x407779
lea ecx, [esp + 0x198]
push ecx
call fcn.0040c400
mov edx, dword [ebp + 0x54]
add esp, 4
add eax, edx
cmp eax, 0x1000000
jbe 0x407779
mov edx, dword [ebp + 0x50]
lea eax, [esp + 0x94]
push edx
push 0x435444
push eax
call fcn.0040d80f
add esp, 0xc
lea ecx, [esp + 0x94]
lea edx, [esp + 0x198]
push ecx
push 0x435450
push edx
call fcn.0040d80f
mov al, byte [esp + 0x1e]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
push ebx
call fcn.00403550
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403aa0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b0], 5
call fcn.0040a430
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp eax, edx
push 1
lea ecx, [esp + 0x20]
mov edi, eax
setne byte [esp + 0x17]
mov byte [esp + 0x3ac], bl
call fcn.00403550
cmp byte [esp + 0x13], bl
je 0x40770d
mov edi, dword [edi + 0x1c]
push ebx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov dword [edx + 4], eax
call fcn.00404940
push edi
call fcn.0040c458
mov eax, dword [esi + 8]
add esp, 4
dec eax
mov dword [esi + 8], eax
mov cl, byte [esp + 0x12]
push ebx
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.00403550
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00403aa0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x3b4], 6
call fcn.00409f30
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x3ac], bl
call fcn.00403550
mov dword [esp + 0x30], 2
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0040a350
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
add ebp, 0x64
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x1c], esi
call fcn.00403b60
test al, al
je 0x4077de
mov edi, dword [ebp + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x198]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], eax
mov ebp, dword [ebp + 4]
add ebp, eax
mov byte [ebp], bl
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.004093f0
mov ecx, dword [esp + 0x3a0]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x39c
ret 4