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

Disassembly:
add esp, 4
pop ebx
push esi
push eax
add esp, 4
add esi, 0x1400e
add esi, 0x12e2a
add esi, 0x9f8f
pop esi
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x40515b
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push edx
push edi
add esp, 4
sub edx, 0x2385
and edx, 0x10f59
pop edx
push ebx
xor ebx, 0x431e
jmp 0x40517c
call 0x405189
add byte [edi + 0x46], al
inc eax
dec ebp
dec ecx
inc edi
dec ebx
add esp, 4
pop ebx
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x4051d5
push esi
push edi
add esp, 4
add esi, 0xe7a7
call 0x4051b8
add byte [edi + 0x4f], cl
cmp al, 0x37
cmp al, 0x34
aaa
cmp eax, 0x4c4833f
pop esi
push edx
xor edx, 0x117a3
or edx, 0x16178
jmp 0x4051cf
pop edx
jmp 0x405403
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xac0], ecx
push ebx
sub ebx, 0xda2a
sub ebx, 0x2750
pop ebx
push edx
push edi
add esp, 4
call 0x40520d
add byte [ecx*2 + 0x33353d38], bh
dec ebp
dec eax
inc esi
add esp, 4
and edx, 0xdf5
add edx, 0x7036
pop edx
mov edx, dword [ebp - 0x15d0]
ljmp 0xf544
invalid
inc edi
test dword [ebx + esi*8 - 1], esi
inc dword [eax]
add byte [eax], al
add byte [ebx - 0x4ff7b], cl
invalid
cmp eax, dword [ebp - 0x15d0]
jne 0x405284
push esi
push esi
add esp, 4
jmp 0x40524f
call 0x40525b
add byte [ebx], dh
dec ebx
cmp bh, byte [ecx]
inc esp
xor eax, 0x8104c483
invalid
cmp dword [ebp - 0xc88], 0
jle 0x4053a9
push ebx
sub ebx, 0xe453
call 0x4052a8
add byte [ebx + 0x46], al
xor eax, 0x334c353f
cmp dword [edi + 0x32], eax
add esp, 4
jmp 0x4052b4
xor ebx, 0xc02b
pop ebx
push edx
sub edx, 0x4a3a
pop edx
mov edx, dword [ebp - 0xac0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xabc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x405345
push ecx
add ecx, 0xb685
add ecx, 0xbc4c
sub ecx, 0x6a0a
pop ecx
push ecx
push eax
add esp, 4
and ecx, 0x59a5
and ecx, 0xbe84
add ecx, 0xc582
xor ecx, 0xfbe9
pop ecx
mov eax, dword [ebp - 0xac0]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xabc]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x40532d
mov dword [ebp - 0x15a0], 1
jmp 0x405337
mov dword [ebp - 0x15a0], 0xffffffff
mov ecx, dword [ebp - 0x15a0]
mov dword [ebp - 0xc8c], ecx
jmp 0x4053a9
push eax
sub eax, 0xcf5
sub eax, 0x87a4
and eax, 0x4789
pop eax
push eax
push ebx
add esp, 4
xor eax, 0x1952
sub eax, 0x73a9
sub eax, 0xbb85
xor eax, 0xec61
pop eax
mov edx, dword [ebp - 0xc88]
sub edx, 1
mov dword [ebp - 0xc88], edx
mov eax, dword [ebp - 0xac0]
add eax, 1
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 1
mov dword [ebp - 0xabc], ecx
jmp 0x405284
mov edx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], edx
cmp dword [ebp - 0x15d4], 0
jne 0x4053fe
push eax
jmp 0x4053c7
pop eax
push ebx
sub ebx, 0xff85
sub ebx, 0x17125
xor ebx, 0x1125c
pop ebx
push edi
and edi, 0xa25e
and edi, 0xd887
and edi, 0x147b1
pop edi
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab8], eax
jmp 0x40543f
jmp 0x40514c
push ecx
push ebx
add esp, 4
or ecx, 0xc591
call 0x40541b
add byte [ecx + 0x38], cl
xor cl, byte [esi + 0x3a]
aas
inc edx
add esp, 4
pop ecx
push edx
or edx, 0x131b5
and edx, 0x122e9
pop edx
push ecx
and ecx, 0x1728b
pop ecx
mov dword [ebp - 0xab8], 0
push ecx
jmp 0x405447
and ecx, 0x35cf
pop ecx
push edi
call 0x40545f
add byte [edx + 0x33], al
inc esp
dec esp
inc edi
dec esp
aaa
dec ecx
add esp, 4
pop edi
push esi
xor esi, 0x11ff
add esi, 0x9dad
pop esi
mov byte [ebp - 0x878], 0x45
mov byte [ebp - 0x877], 0x78
mov byte [ebp - 0x876], 0x69
mov byte [ebp - 0x875], 0x74
mov byte [ebp - 0x874], 0x50
mov byte [ebp - 0x873], 0x72
mov byte [ebp - 0x872], 0x6f
mov byte [ebp - 0x871], 0x63
mov byte [ebp - 0x870], 0x65
mov byte [ebp - 0x86f], 0x73
mov byte [ebp - 0x86e], 0x73
mov byte [ebp - 0x86d], 0
push esi
call 0x4054d2
add byte [ebx], bh
dec edx
aas
aas
cmp byte [edi - 0x7d], cl
les eax, [esi + ebx*2]
push edx
push ecx
add esp, 4
add edx, 0x12a17
call 0x4054ed
add byte [ebx + eax*2 + 0x4b], cl
inc ebx
dec edx
inc eax
add esp, 4
xor edx, 0x3df4
pop edx
mov ecx, 0x6b
mov word [ebp - 0x1738], cx
mov edx, 0x65
mov word [ebp - 0x1736], dx
mov eax, 0x72
mov word [ebp - 0x1734], ax
mov ecx, 0x6e
mov word [ebp - 0x1732], cx
mov edx, 0x65
mov word [ebp - 0x1730], dx
mov eax, 0x6c
mov word [ebp - 0x172e], ax
mov ecx, 0x33
mov word [ebp - 0x172c], cx
mov edx, 0x32
mov word [ebp - 0x172a], dx
mov eax, 0x2e
mov word [ebp - 0x1728], ax
mov ecx, 0x64
mov word [ebp - 0x1726], cx
mov edx, 0x6c
mov word [ebp - 0x1724], dx
mov eax, 0x6c
mov word [ebp - 0x1722], ax
xor ecx, ecx
mov word [ebp - 0x1720], cx
push ebx
push ecx
add esp, 4
and ebx, 0x2b71
xor ebx, 0x100e9
pop ebx
push ecx
push esi
add esp, 4
add ecx, 0x7198
and ecx, 0x16120
jmp 0x4055bb
xor ecx, 0x33a2
pop ecx
push edi
xor edi, 0x16f45
or edi, 0x6242
jmp 0x4055d4
pop edi
push ebx
push ebx
add esp, 4
xor ebx, 0xd16
call 0x4055f0
add byte [edi + 0x43], al
inc ecx
cmp dh, byte [edx]
inc ebp
aas
inc esi
push eax
inc esp
add esp, 4
pop ebx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1954], edx
mov eax, dword [ebp - 0x1954]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1958], ecx
mov edx, dword [ebp - 0x1958]
mov dword [ebp - 0x15d8], edx
push ebx
push ebx
add esp, 4
add ebx, 0xe8b
jmp 0x40562e
sub ebx, 0x887d
pop ebx
push edx
add edx, 0x306c
pop edx
push ecx
push ebx
add esp, 4
or ecx, 0x4c76
jmp 0x40564d
pop ecx
cmp dword [ebp - 0x15d8], 0
jne 0x405666
mov dword [ebp - 0x31c], 0
jmp 0x405922
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push eax
add eax, 0x9dc0
jmp 0x405685
sub eax, 0x745
xor eax, 0x89eb
pop eax
push eax
jmp 0x40569b
sub eax, 0x119dc
jmp 0x4056a9
pop eax
cmp dword [ebp - 0xc98], 0
jne 0x4056c2
mov dword [ebp - 0x31c], 0
jmp 0x405922
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push edx
push ebx
add esp, 4
and edx, 0x1155c
jmp 0x4056e1
and edx, 0x364a
and edx, 0x1024f
pop edx
push eax
push esi
add esp, 4
sub eax, 0x184a9
xor eax, 0x10e3e
pop eax
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push esi
push esi
add esp, 4
sub esi, 0xde15
jmp 0x40573f
pop esi
push ebx
push ebx
add esp, 4
jmp 0x40574c
and ebx, 0x1cb4
add ebx, 0x97b5
or ebx, 0x17a5e
pop ebx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push esi
sub esi, 0xaaac
sub esi, 0x780e
add esi, 0x97b4
sub esi, 0x18359
pop esi
push edx
push eax
add esp, 4
call 0x4057e7
add byte [edi], bh
aaa
dec ecx
dec edx
inc eax
aaa
xor dh, byte [edi]
dec eax
add esp, 4
pop edx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x40580e
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405871
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x40572d
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x40572d
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x40585b
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405865
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4058ba
push esi
add esi, 0x2601
pop esi
push eax
push ebx
add esp, 4
call 0x405894
add byte [eax + 0x38], cl
inc eax
push eax
xor edi, dword ds:[ecx]
add esp, 4
or eax, 0x6d13
pop eax
push esi
sub esi, 0x1e21
add esi, 0x146b6
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405922
push edi
push edi
add esp, 4
call 0x4058cc
add byte [ebx + 0x49], al
xor al, 0x3a
cmp dword [esi + 0x50], ecx
add esp, 4
call 0x4058dc
add byte [esi], dh
xor al, 0x46
dec esp
dec eax
cmp eax, 0x4c48347
xor edi, 0xc8b0
sub edi, 0xed9c
pop edi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x405918
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x4056ce
mov dword [ebp - 0x31c], 0
push edx
call 0x405933
add byte [ebp + ecx*2 + 0x36], cl
dec eax
inc ebx
cmp al, 0x33
push eax
cmp ecx, dword [ebx - 0x7d]
les eax, [ecx + eax*4]
retf 0xfcc8