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

Disassembly:
push 0xffffffffffffffff
push 0x4f21f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov bl, 4
mov cl, 0xa
mov al, 0x10
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], cl
mov cl, 9
push 6
mov dword [esp + 0x64], edi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0x40
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], 8
mov byte [esp + 0x32], 8
mov byte [esp + 0x33], 5
mov byte [esp + 0x34], 5
mov byte [esp + 0x35], 8
mov byte [esp + 0x36], 8
mov byte [esp + 0x37], 7
mov byte [esp + 0x38], 7
mov byte [esp + 0x39], 7
mov byte [esp + 0x3a], 7
mov byte [esp + 0x3b], 6
mov byte [esp + 0x3c], 6
mov byte [esp + 0x3d], 6
mov byte [esp + 0x3e], 5
mov byte [esp + 0x3f], 5
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 0
mov byte [esp + 0x45], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x49], 1
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], 0x40
mov byte [esp + 0x4d], 1
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], al
mov byte [esp + 0x50], 0x40
mov byte [esp + 0x51], 1
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], al
mov byte [esp + 0x54], 0x40
mov byte [esp + 0x55], al
mov byte [esp + 0x56], 0x40
mov byte [esp + 0x57], 1
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 0x40
mov byte [esp + 0x5b], 1
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], 1
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], 1
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], al
mov byte [esp + 0x63], 0x40
push 0x512940
lea ecx, [esp + 0x1c]
call fcn.004be240
xor ebp, ebp
push 6
push 0x512938
lea ecx, [esp + 0x18]
mov dword [esp + 0xd4], ebp
call fcn.004be240
mov ecx, dword [edi + 0x84]
lea esi, [edi + 0x7c]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 1
call fcn.004148e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0
call fcn.004be2e0
push 6
push 0x512930
lea ecx, [esp + 0x18]
call fcn.004be240
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 2
call fcn.004148e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0
call fcn.004be2e0
mov al, byte [edi + 0x40]
test al, al
je 0x49a572
jbe 0x49a272
cmp al, bl
ja 0x49a272
push 0xb
lea ecx, [edi + 0x74]
call fcn.004be4c0
xor ecx, ecx
mov cl, byte [edi + 0x40]
push ecx
mov dl, byte [esp + ecx + 0x1c]
mov ecx, esp
test dl, al
je 0x49a119
mov dword [esp + 0x14], esp
push 6
push 0x512928
call fcn.004be240
lea edx, [esp + 0x98]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xcc], 5
push ecx
push ebp
push eax
lea ecx, [edi + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x98]
mov byte [esp + 0xcc], 0
cmp eax, ebp
je 0x49a0ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a0f6
cmp al, 0xff
je 0x49a0f6
dec al
mov byte [ecx], al
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
jmp 0x49a22d
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
jmp 0x49a22d
mov dword [esp + 0x14], esp
push 6
push 0x512920
call fcn.004be240
lea edx, [esp + 0x68]
push edx
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebp, eax
mov byte [esp + 0xcc], 6
cmp ecx, ebp
lea ebx, [edi + 0x64]
jae 0x49a154
mov ebp, ecx
cmp ebx, esi
jne 0x49a171
push ecx
push ebp
mov ecx, ebx
call fcn.00414360
push 0
push 0
mov ecx, ebx
call fcn.00414360
jmp 0x49a1f2
test ebp, ebp
jbe 0x49a1b9
cmp ebp, eax
jne 0x49a1b9
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a185
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x49a1b9
push 1
mov ecx, ebx
call fcn.00414090
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a1a0
mov eax, 0x4f7480
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebx + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x49a1f2
push 1
push ebp
mov ecx, ebx
call fcn.004144a0
test al, al
je 0x49a1f2
mov esi, dword [esi + 4]
test esi, esi
jne 0x49a1d3
mov esi, 0x4f7480
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00414480
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xcc], 0
je 0x49a221
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a218
cmp al, 0xff
je 0x49a218
dec al
mov byte [ecx], al
jmp 0x49a221
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
xor ecx, ecx
mov byte [edi + 0x42], 0
mov cl, byte [edi + 0x40]
mov dl, byte [esp + ecx + 0x18]
mov ecx, edi
mov byte [edi + 0x41], dl
call fcn.004a2cb0
test ax, ax
jge 0x49a266
lea ecx, [esp + 0x14]
mov dword [esp + 0xcc], 0xffffffff
call fcn.004be2e0
or ax, 0xffff
jmp 0x49a6d1
mov ecx, edi
call fcn.004a2cb0
jmp 0x49a6b8
and eax, 0xff
lea ecx, [edi + 0x74]
movzx ax, byte [esp + eax + 0x20]
push eax
call fcn.004be4c0
xor ecx, ecx
mov cl, byte [edi + 0x40]
test byte [esp + ecx + 0x40], al
je 0x49a3e2
push ecx
mov byte [0x520051], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512938
call fcn.004be240
lea edx, [esp + 0xb8]
push edx
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebx, eax
mov byte [esp + 0xcc], 7
cmp ecx, ebx
lea ebp, [edi + 0x64]
jae 0x49a2dd
mov ebx, ecx
cmp ebp, esi
jne 0x49a2fa
push ecx
push ebx
mov ecx, ebp
call fcn.00414360
push 0
push 0
mov ecx, ebp
call fcn.00414360
jmp 0x49a37e
test ebx, ebx
jbe 0x49a342
cmp ebx, eax
jne 0x49a342
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a30e
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x49a342
push 1
mov ecx, ebp
call fcn.00414090
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a329
mov eax, 0x4f7480
mov dword [ebp + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebp + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x49a37e
push 1
push ebx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x49a37e
mov esi, dword [esi + 4]
test esi, esi
jne 0x49a35c
mov esi, 0x4f7480
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x60]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0xb8]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xcc], 0
je 0x49a3c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a3bf
cmp al, 0xff
je 0x49a3bf
dec al
mov byte [ecx], al
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
jmp 0x49a557
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
jmp 0x49a557
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512930
call fcn.004be240
lea ecx, [esp + 0x88]
push ecx
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebp, eax
mov byte [esp + 0xcc], 8
cmp ecx, ebp
lea ebx, [edi + 0x64]
jae 0x49a423
mov ebp, ecx
cmp ebx, esi
jne 0x49a48b
mov eax, dword [ebx + 8]
mov esi, ecx
cmp eax, ebp
jae 0x49a435
call fcn.004de3d7
mov ecx, ebx
call fcn.00415170
mov eax, dword [ebx + 8]
sub eax, ebp
cmp eax, esi
jae 0x49a447
mov esi, eax
test esi, esi
jbe 0x49a47b
mov edx, dword [ebx + 4]
sub eax, esi
add ebp, edx
push eax
lea ecx, [esi + ebp]
push ecx
push ebp
call fcn.004dea60
mov ebp, dword [ebx + 8]
add esp, 0xc
sub ebp, esi
mov ecx, ebx
push 0
push ebp
call fcn.004144a0
test al, al
je 0x49a47b
push ebp
mov ecx, ebx
call fcn.00414480
push 0
push 0
mov ecx, ebx
call fcn.00414360
jmp 0x49a510
test ebp, ebp
jbe 0x49a4d3
cmp ebp, eax
jne 0x49a4d3
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a49f
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x49a4d3
push 1
mov ecx, ebx
call fcn.00414090
mov eax, dword [esi + 4]
test eax, eax
jne 0x49a4ba
mov eax, 0x4f7480
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebx + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x49a510
push 1
push ebp
mov ecx, ebx
call fcn.004144a0
test al, al
je 0x49a510
mov esi, dword [esi + 4]
test esi, esi
jne 0x49a4ed
mov esi, 0x4f7480
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x60]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
mov eax, dword [esp + 0x88]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xcc], 0
je 0x49a542
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a539
cmp al, 0xff
je 0x49a539
dec al
mov byte [ecx], al
jmp 0x49a542
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
xor eax, eax
mov al, byte [edi + 0x40]
mov cl, byte [esp + eax + 0x40]
mov dl, byte [esp + eax + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.004a30c0
jmp 0x49a6b8
push 6
lea ecx, [edi + 0x74]
call fcn.004be4c0
test al, 0x40
je 0x49a626
push ecx
mov byte [0x520051], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512928
call fcn.004be240
lea eax, [esp + 0xa8]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xcc], 3
push ecx
push ebp
push eax
lea ecx, [edi + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xcc], 0
cmp eax, ebp
je 0x49a60f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a606
cmp al, 0xff
je 0x49a606
dec al
mov byte [ecx], al
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
jmp 0x49a69a
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
jmp 0x49a69a
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512920
call fcn.004be240
lea edx, [esp + 0x78]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xcc], bl
push ecx
push ebp
push eax
lea ecx, [edi + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x78]
mov byte [esp + 0xcc], 0
cmp eax, ebp
je 0x49a68b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49a682
cmp al, 0xff
je 0x49a682
dec al
mov byte [ecx], al
jmp 0x49a68b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004be1b0
push 3
push 0x40
push 6
mov ecx, edi
call fcn.004a2e30
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0xcc], 0xffffffff
call fcn.004be2e0
mov ax, si
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret