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

Disassembly:
sub esp, 0x74
xor eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov dword [esp + 0x14], eax
cmp ebp, dword [0x4a8e90]
jg 0x401764
test ebp, ebp
jle 0x401764
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a8ec4]
test ebx, ebx
je 0x4017c3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x4015e3
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x4015d0
test ecx, ecx
jbe 0x4015e3
dec ecx
test si, si
jne case.0x40161f.8
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x401670
cmp eax, 0xd
je 0x401741
cmp eax, 0xe
je 0x4016ec
cmp eax, 8
je 0x40176b
sub eax, 5
cmp eax, 0x1c
ja case.0x40161f.8
movzx ecx, byte [eax + 0x401994]
jmp dword [ecx*4 + 0x401954]
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
sub dword [esp + 0x30], 1
jne 0x42b0fd
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.0040e940
test eax, eax
je case.0x40161f.8
jmp 0x42b069
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x401693
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x401676
jmp 0x42b133
cmp dword [esi], 5
jne 0x40167b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x4016c5
cmp dword [ecx], 5
jne 0x4016c5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00401090
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne case.0x40161f.8
mov eax, dword [eax]
cmp eax, 0x23
je case.0x40161f.8
jmp 0x42aff0
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x42afda
cmp byte [esp + 0x45], 0
jne 0x42afe4
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.0040c250
cmp dword [esp + 0x20], 0
jl 0x42b127
cmp dword [esp + 0x14], edi
je case.0x40161f.8
jmp 0x42b127
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
xor ebx, ebx
jmp 0x4015a3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x42afca
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x42afd2
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.0040c250
cmp dword [esp + 0x18], 0
jl 0x42b11e
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b11e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.0040e940
test eax, eax
jne 0x42b069
cmp dword [esp + 0x30], eax
jne 0x42b0fd
lea eax, [esp + 0x6c]
call fcn.004014e0
lea eax, [esp + 0x3c]
call fcn.004014e0
lea eax, [esp + 0x78]
call fcn.004014e0
lea eax, [esp + 0x48]
call fcn.004014e0
lea eax, [esp + 0x54]
call fcn.004014e0
lea eax, [esp + 0x60]
call fcn.004014e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 1
jg 0x42b0fd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push edx
push eax
jmp 0x40164e
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42b037
mov eax, dword [esp + 0x14]
inc dword [esp + 0x1c]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov eax, dword [esp + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.00401090
jmp case.0x40161f.8
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x1c]
dec ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae70
lea eax, [esp + 0x6c]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x6c]
call fcn.0040c250
cmp dword [esp + 0x1c], 0
jl 0x42b109
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b109
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42b049
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x24]
dec ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00410a70
test al, al
jne 0x42ae78
lea eax, [esp + 0x78]
call fcn.00410a60
mov edi, dword [eax]
lea esi, [esp + 0x78]
call fcn.0040c250
cmp dword [esp + 0x24], 0
jl 0x42b115
cmp ebx, edi
je case.0x40161f.8
jmp 0x42b115
mov edx, dword [ebp - 0x6f4]
add edx, 1
mov dword [ebp - 0x6f4], edx
push ebx
add esp, 4
or ebx, 0x763b
sub ebx, 0x1694c
pop ebx
push esi
add esi, 0xe1ff
pop esi
push esi
push ebx
add esp, 4
or esi, 0xb98f
sub esi, 0x13dea
xor esi, 0x7e86
pop esi
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x180]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x180]
movsx eax, byte [ebp + edx - 0x820]
or eax, 0x20
cmp ecx, eax
jge 0x42ae74
mov dword [ebp - 0xc30], 0xffffffff
jmp 0x42ae7e
invalid
mov dword [ebp - 0xc30], 1
invalid
cmp dword [ebp - 0xc30], 0
jne 0x42ae95
sal bl, 1
invalid
mov ecx, dword [ebp - 0x18ac]
mov dword [ebp - 0x3c4], ecx
jmp 0x42aea6
jmp 0x42ac7f
cmp al, 0xfc
invalid
rol dword [esi - 0x7effff10], 0xe1
invalid
add byte [eax], al
add byte [ecx - 0x18b77b], cl
dec dword [ebx - 0x18b773]
dec dword [ebx - 0x6a76cfaf]
inc esp
out 0xff, eax
dec dword [ebx - 0x18bb7b]
dec dword [ecx - 0x14f37b]
call dword [eax + 0x50]
invalid
add byte [eax], al
add byte [eax], al
dec edi
cmp al, 0x4d
dec edx
lcall 0xf9f7, 0x810000fb
cmp eax, 0x575f0001
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
mov ebp, 0xfffff3c4
add byte [ebp + 0xf], dh
into
add byte [ecx + 0x6be8e0], al
add bl, ch
pop es
cmp byte [ecx + edi + 0x4a], cl
dec edx
inc esp
dec edx
cmp byte [eax - 0x75], bl
invalid
invalid
invalid