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

Disassembly:
add esp, 4
sub ebx, 0xd282
and ebx, 0xa020
call 0x4056fe
add byte [esi + 0x4e], al
dec esi
xor al, 0x36
xor al, 0x48
dec eax
add esp, 4
pop ebx
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 edx
or edx, 0xee91
pop edx
push ebx
push ebx
add esp, 4
and ebx, 0xbfa9
xor ebx, 0x1429c
add ebx, 0x118a
or ebx, 0x9f05
pop ebx
push eax
push edi
add esp, 4
or eax, 0x13d6f
pop eax
push edx
push eax
add esp, 4
sub edx, 0x2d55
pop edx
push esi
push ecx
add esp, 4
and esi, 0x11abe
pop esi
push ecx
and ecx, 0xb368
pop ecx
push esi
push ecx
add esp, 4
and esi, 0xbf61
xor esi, 0xf683
pop esi
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 eax
or eax, 0xf450
xor eax, 0x5fb9
sub eax, 0x17213
pop eax
push eax
push eax
add esp, 4
sub eax, 0x102bd
or eax, 0xbd0b
pop eax
push edx
push ebx
add esp, 4
and edx, 0x11ae7
pop edx
cmp dword [ebp - 0x15d8], 0
jne 0x405871
mov dword [ebp - 0x31c], 0
jmp 0x405b2d
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push eax
xor eax, 0x17f55
jmp 0x405890
or eax, 0xae41
pop eax
push edi
jmp 0x4058a0
pop edi
push ebx
push edx
add esp, 4
or ebx, 0xad1e
pop ebx
push ebx
and ebx, 0x1440c
pop ebx
cmp dword [ebp - 0xc98], 0
jne 0x4058cd
mov dword [ebp - 0x31c], 0
jmp 0x405b2d
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push edi
sub edi, 0x12d80
add edi, 0x1836e
and edi, 0x16fdb
and edi, 0x16194
pop edi
push ecx
push esi
add esp, 4
or ecx, 0x12ae9
or ecx, 0xf7bf
sub ecx, 0x165a9
pop ecx
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 edi
jmp 0x405940
call 0x40594c
add byte [esi], bh
inc eax
dec ebx
dec eax
inc ebp
add esp, 4
xor edi, 0xb785
xor edi, 0x8fdb
pop edi
push ebx
or ebx, 0x17d5b
and ebx, 0x12250
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 ebx
push ebx
add esp, 4
jmp 0x4059d0
xor ebx, 0xb746
call 0x4059e3
add byte [eax + 0x37], al
inc ebx
dec edi
cmp al, byte [ecx + 0x4c]
add esp, 4
call 0x4059f2
add byte [eax + 0x35], al
dec esp
aaa
xor eax, 0x4c48339
pop ebx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x405a19
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405a7c
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x405938
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x405938
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x405a66
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405a70
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x405ac5
push edx
and edx, 0x3136
pop edx
push eax
push edi
add esp, 4
jmp 0x405a9b
and eax, 0x15a11
sub eax, 0xb8f7
call 0x405ab3
add byte [edi + eax*2 + 0x46], cl
inc ebx
xor eax, 0x4c48339
pop eax
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405b2d
push ecx
sub ecx, 0x14b3b
call 0x405adb
add byte [ebx + 0x4a], al
dec edi
aas
inc edi
dec esi
inc edx
dec esp
dec esp
add esp, 4
add ecx, 0x11e32
or ecx, 0x477f
pop ecx
push ebx
push eax
add esp, 4
add ebx, 0x1a01
pop ebx
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 0x405b23
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x4058d9
mov dword [ebp - 0x31c], 0
push edx
or edx, 0x5ae3
xor edx, 0x1163a
call 0x405b46
add byte [eax], bh
cmp dword [edx], esi
dec ebx
cmp al, 0x48
add esp, 4
pop edx
push eax
push esi
add esp, 4
jmp 0x405b56
pop eax
push eax
or eax, 0xca82
pop eax
cmp dword [ebp - 0x31c], 0
jne 0x406478
mov edx, 0x6b
mov word [ebp - 0x1774], dx
mov eax, 0x65
mov word [ebp - 0x1772], ax
mov ecx, 0x72
mov word [ebp - 0x1770], cx
mov edx, 0x6e
mov word [ebp - 0x176e], dx
mov eax, 0x65
mov word [ebp - 0x176c], ax
mov ecx, 0x6c
mov word [ebp - 0x176a], cx
mov edx, 0x33
mov word [ebp - 0x1768], dx
mov eax, 0x32
mov word [ebp - 0x1766], ax
mov ecx, 0x2e
mov word [ebp - 0x1764], cx
mov edx, 0x64
mov word [ebp - 0x1762], dx
mov eax, 0x6c
mov word [ebp - 0x1760], ax
mov ecx, 0x6c
mov word [ebp - 0x175e], cx
xor edx, edx
mov word [ebp - 0x175c], dx
push edi
push edi
add esp, 4
xor edi, 0xa824
and edi, 0x502e
and edi, 0xf09b
pop edi
push edi
and edi, 0xbe4
call 0x405c33
add byte [ebx], dh
dec ebp
cmp dword ds:[edi + 0x45], eax
xor cl, byte ds:[eax - 0x7d]
les eax, [edi + ebx*2]
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
mov ecx, dword [ebp - 0x195c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x1960]
mov dword [ebp - 0x15e4], eax
push edi
or edi, 0xef98
add edi, 0x14392
call 0x405cd3
add byte [eax + 0x3a], dl
inc ebp
inc ecx
inc edi
xor eax, 0x4c4833d
and edi, 0x17af0
pop edi
push ecx
jmp 0x405ce4
or ecx, 0x14ac8
pop ecx
cmp dword [ebp - 0x15e4], 0
jne 0x405d03
mov dword [ebp - 0x750], 0
jmp 0x405fbf
mov ecx, dword [ebp - 0x15e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push edi
push esi
add esp, 4
or edi, 0x6ed1
jmp 0x405d26
sub edi, 0x643a
pop edi
push esi
add esi, 0x102ce
pop esi
push edi
jmp 0x405d3b
or edi, 0xeca
jmp 0x405d46
pop edi
cmp dword [ebp - 0xca4], 0
jne 0x405d5f
mov dword [ebp - 0x750], 0
jmp 0x405fbf
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push ebx
push ebx
add esp, 4
sub ebx, 0x69f2
jmp 0x405d7c
and ebx, 0xcb49
and ebx, 0x3d0a
pop ebx
push ebx
and ebx, 0x1576e
xor ebx, 0xc79a
and ebx, 0xdb77
pop ebx
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push ebx
or ebx, 0x619f
sub ebx, 0xb949
pop ebx
push edx
push ecx
add esp, 4
jmp 0x405de5
add edx, 0xb2dd
pop edx
push esi
add esi, 0x4f65
pop esi
push ecx
xor ecx, 0x7d43
pop ecx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push edx
jmp 0x405e60
call 0x405e6c
add byte [ecx], bh
dec eax
cmp dword [esi + 0x40], eax
xor al, byte [ebx + 0x8e804c4]
add byte [eax], al
add byte [eax], al
inc eax
cmp byte [esi - 0x7cb0bdc6], dh
les eax, [edx + ebx*2]
push ecx
sub ecx, 0x9ef6
pop ecx
movzx eax, word [ebp - 0x110]
invalid