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

Disassembly:
push 0xffffffffffffffff
push 0x4f20b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, 8
push ebx
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov al, 9
push ebp
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], al
push esi
mov al, 0xb
push edi
mov edi, ecx
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov al, 0xa
mov cl, 7
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], al
mov bl, 4
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x31], cl
mov byte [esp + 0x33], cl
mov al, 0x10
push 6
push 0x512940
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 5
mov byte [esp + 0x22], 5
mov byte [esp + 0x23], 5
mov byte [esp + 0x24], 5
mov byte [esp + 0x25], 6
mov byte [esp + 0x26], 6
mov byte [esp + 0x3a], 6
mov byte [esp + 0x3c], 0
mov byte [esp + 0x3d], 0x40
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], 0x40
mov byte [esp + 0x42], al
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], 0x40
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4d], 0x40
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 1
mov byte [esp + 0x51], 0x40
mov byte [esp + 0x52], al
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 1
mov byte [esp + 0x55], 0x40
mov byte [esp + 0x56], 1
mov byte [esp + 0x57], al
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 1
mov byte [esp + 0x5b], 0x40
call fcn.004be240
mov al, byte [edi + 0x40]
xor esi, esi
test al, al
mov dword [esp + 0xac], esi
push 6
je 0x4990ae
push 0x512938
lea ecx, [esp + 0x68]
call fcn.004be240
mov ecx, dword [edi + 0x84]
lea esi, [edi + 0x7c]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xb8], 3
call fcn.004148e0
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 0
call fcn.004be2e0
push 6
push 0x512930
lea ecx, [esp + 0x64]
call fcn.004be240
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xb8], bl
call fcn.004148e0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 0
call fcn.004be2e0
xor eax, eax
mov al, byte [edi + 0x40]
movzx cx, byte [esp + eax + 0x14]
push ecx
lea ecx, [edi + 0x74]
call fcn.004be4c0
xor edx, edx
mov dl, byte [edi + 0x40]
test byte [esp + edx + 0x34], al
je 0x498f2a
push ecx
mov byte [0x520051], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512938
call fcn.004be240
lea eax, [esp + 0x68]
push eax
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebx, eax
mov byte [esp + 0xac], 5
cmp ecx, ebx
lea ebp, [edi + 0x64]
jae 0x498e3a
mov ebx, ecx
cmp ebp, esi
jne 0x498e57
push ecx
push ebx
mov ecx, ebp
call fcn.00414360
push 0
push 0
mov ecx, ebp
call fcn.00414360
jmp 0x498edb
test ebx, ebx
jbe 0x498e9f
cmp ebx, eax
jne 0x498e9f
mov eax, dword [esi + 4]
test eax, eax
jne 0x498e6b
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x498e9f
push 1
mov ecx, ebp
call fcn.00414090
mov eax, dword [esi + 4]
test eax, eax
jne 0x498e86
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 0x498edb
push 1
push ebx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x498edb
mov esi, dword [esi + 4]
test esi, esi
jne 0x498eb9
mov esi, 0x4f7480
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x58]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xac], 0
je 0x498f19
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x498f10
cmp al, 0xff
je 0x498f10
dec al
mov byte [ecx], al
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jmp 0x499093
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jmp 0x499093
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512930
call fcn.004be240
lea eax, [esp + 0x78]
push eax
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebp, eax
mov byte [esp + 0xac], 6
cmp ecx, ebp
lea ebx, [edi + 0x64]
jae 0x498f68
mov ebp, ecx
cmp ebx, esi
jne 0x498fd0
mov eax, dword [ebx + 8]
mov esi, ecx
cmp eax, ebp
jae 0x498f7a
call fcn.004de3d7
mov ecx, ebx
call fcn.00415170
mov eax, dword [ebx + 8]
sub eax, ebp
cmp eax, esi
jae 0x498f8c
mov esi, eax
test esi, esi
jbe 0x498fc0
mov ecx, dword [ebx + 4]
sub eax, esi
add ebp, ecx
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 0x498fc0
push ebp
mov ecx, ebx
call fcn.00414480
push 0
push 0
mov ecx, ebx
call fcn.00414360
jmp 0x499055
test ebp, ebp
jbe 0x499018
cmp ebp, eax
jne 0x499018
mov eax, dword [esi + 4]
test eax, eax
jne 0x498fe4
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x499018
push 1
mov ecx, ebx
call fcn.00414090
mov eax, dword [esi + 4]
test eax, eax
jne 0x498fff
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 0x499055
push 1
push ebp
mov ecx, ebx
call fcn.004144a0
test al, al
je 0x499055
mov esi, dword [esi + 4]
test esi, esi
jne 0x499032
mov esi, 0x4f7480
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x58]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
mov eax, dword [esp + 0x78]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xac], 0
je 0x499084
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49907b
cmp al, 0xff
je 0x49907b
dec al
mov byte [ecx], al
jmp 0x499084
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
xor eax, eax
mov al, byte [edi + 0x40]
mov cl, byte [esp + eax + 0x34]
mov dl, byte [esp + eax + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.004a30c0
jmp 0x499202
lea ecx, [edi + 0x74]
call fcn.004be4c0
test al, 0x40
je 0x499163
push ecx
mov byte [0x520051], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512928
call fcn.004be240
lea eax, [esp + 0x98]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xac], 1
push ecx
push esi
push eax
lea ecx, [edi + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x98]
mov byte [esp + 0xac], 0
cmp eax, esi
je 0x499149
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x499140
cmp al, 0xff
je 0x499140
dec al
mov byte [ecx], al
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
jmp 0x4991e4
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
jmp 0x4991e4
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512920
call fcn.004be240
lea edx, [esp + 0x88]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xac], 2
push ecx
push esi
push eax
lea ecx, [edi + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x88]
mov byte [esp + 0xac], 0
cmp eax, esi
je 0x4991cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4991c6
cmp al, 0xff
je 0x4991c6
dec al
mov byte [ecx], al
jmp 0x4991cf
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
push ecx
lea edx, [esp + 0x58]
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 + 0x54]
mov esi, eax
mov dword [esp + 0xac], 0xffffffff
call fcn.004be2e0
mov ecx, dword [esp + 0xa4]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret