Function at 0x40cea8
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push esi
jmp 0x40ccbe
pop esi
push edx
and edx, 0xc928
pop edx
push eax
or eax, 0x9408
add eax, 0x7b1a
sub eax, 0x1183e
pop eax
push eax
push edi
add esp, 4
xor eax, 0x1056a
pop eax
mov edx, dword [ebp - 0x30]
add edx, 0xfe
imul eax, dword [ebp - 0x2c], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x2c], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1d60], edx
push esi
add esi, 0xb5c4
add esi, 0x14499
or esi, 0x1493a
jmp 0x40cd2d
pop esi
push esi
call 0x40cd3f
add byte [0x3a354a42], dh
inc esp
cmp byte [edx + 0x48], al
push eax
add esp, 4
pop esi
mov edx, dword [ebp - 0x1d60]
add edx, 1
mov dword [ebp - 0x159c], edx
push edx
push edi
add esp, 4
sub edx, 0xcd4a
sub edx, 0x15b45
sub edx, 0xfbbb
pop edx
push eax
and eax, 0x4492
xor eax, 0x11b33
and eax, 0x10eb8
or eax, 0x2dfe
pop eax
push esi
xor esi, 0x137b8
xor esi, 0x7b42
jmp 0x40cd99
pop esi
push esi
or esi, 0x7e6
or esi, 0x13d52
jmp 0x40cdaf
or esi, 0xd64d
pop esi
imul eax, dword [ebp - 0x2c], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x2c], 0xfe
sub eax, ecx
xor eax, dword [ebp - 0x159c]
imul eax, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x2c], 0xfe
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x159c]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e28], eax
mov dword [ebp - 0x1628], 1
push eax
push esi
add esp, 4
call 0x40ce0c
add byte [ebx + 0x50], cl
inc esp
xor bh, byte [edx]
inc ecx
add esp, 4
jmp 0x40ce18
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x13f51
pop edi
push edi
jmp 0x40ce2c
pop edi
imul ecx, dword [ebp - 0x1628], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x1628], 0xfe
sub ecx, edx
xor ecx, dword [ebp - 0x1e28]
imul ecx, dword [ebp - 0x1628]
imul eax, dword [ebp - 0x1628], 0xfe
sub ecx, eax
mov dword [ebp - 0x162c], ecx
mov ecx, dword [ebp - 0x1064]
mov edx, dword [ebp - 0x1060]
mov dword [ebp - 0x1634], ecx
mov dword [ebp - 0x1630], edx
push edx
push esi
add esp, 4
jmp 0x40ce8d
and edx, 0xa46a
pop edx
push ecx
push ecx
add esp, 4
call 0x40cea8
add byte [ebx + ecx*2 + 0x3f], al
xor bh, byte [esi]
dec edx
dec ebp
cmp byte [ebx - 0x1e7efb3c], al
bound esi, qword [ecx + eax]
add byte [ecx + 0x50], bl
push ebx
add esp, 4
xor eax, 0x15bda
jmp 0x40cec3
jmp 0x40cec8
pop eax
push eax
push edi
add esp, 4
and eax, 0x133f
pop eax
push esi
jmp 0x40cedd
sub esi, 0x612e
pop esi
mov eax, dword [ebp - 0x30]
add eax, 0xfe
imul ecx, dword [ebp - 0x2c], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x2c], 0xfe
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e30], eax
push ebx
push ecx
add esp, 4
jmp 0x40cf1a
call 0x40cf29
add byte [edi + edi + 0x4c], cl
dec esp
xor eax, 0x8338483d
les eax, [eax + ebp*8]
or eax, dword [eax]
add byte [eax], al
add byte [edi + 0x4f], cl
cmp eax, 0x353f3250
inc edx
inc esp
add esp, 4
pop ebx
mov eax, dword [ebp - 0x1634]
add eax, 0xfe
imul ecx, dword [ebp - 0x1630], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x1630], 0xfe
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x1630]
mov dword [ebp - 0x1e2c], eax
mov eax, dword [ebp - 0x1e2c]
mov dword [ebp - 0x1e34], eax
mov ecx, dword [ebp - 0x1e30]
cmp ecx, dword [ebp - 0x1e34]
jae 0x40cf9c
mov dword [ebp - 0x15a4], 0
mov dl, byte [ebp - 0x15a4]
mov byte [ebp - 0x3ad], dl
movzx eax, byte [ebp - 0x3ad]
test eax, eax
je 0x410019
push ebx
push edi
add esp, 4
call 0x40cfd3
add byte [edi], bh
dec esp
inc edi
aaa
dec ebx
cmp cl, byte [edi - 0x7d]
les eax, [ebx + ebp*8]
add eax, 0x494b484a
inc edx
sub ebx, 0x12e2a
call 0x40cfef
add byte [0x374b3d35], dh
dec edi
add esp, 4
pop ebx
push eax
and eax, 0x4c59
and eax, 0xd98
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x14ab4
call 0x40d01b
add byte [ecx + 0x4b], al
dec eax
cmp dh, byte [esi]
xor eax, dword [edx + 0x35]
inc esp
add esp, 4
add edi, 0x46e4
pop edi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfe
imul edx, dword [ebp - 0x2c], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x2c], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1e38], ecx
mov ecx, dword [ebp - 0x1e38]
mov dword [ebp - 0x1e3c], ecx
cmp dword [ebp - 0x1e3c], 0x63c1
jne 0x40d1a0
push edx
jmp 0x40d072
xor edx, 0x6abb
and edx, 0x1566f
xor edx, 0x125ff
pop edx
push ecx
jmp 0x40d08b
sub ecx, 0x18343
sub ecx, 0x758f
add ecx, 0xed32
pop ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfe
imul eax, dword [ebp - 0x10], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x10], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x1e40], edx
mov edx, dword [ebp - 0x1e40]
mov dword [ebp - 0x1e44], edx
mov eax, dword [ebp - 0x1e44]
sub eax, 0x898
mov dword [ebp - 0x1e48], eax
mov dword [ebp - 0x1068], 1
push edx
push esi
add esp, 4
and edx, 0x17224
sub edx, 0x157c7
sub edx, 0x9986
pop edx
push eax
xor eax, 0x16c9b
sub eax, 0x1256b
or eax, 0x1049c
or eax, 0x152cc
push eax
or eax, 0xc50b
jmp 0x40d1ad
and eax, 0xfff7
pop eax
push ebx
sub ebx, 0xa4d2
sub ebx, 0x4c9c
call 0x40d1ce
add byte [ebp + 0x4e], al
inc esp
inc esi
dec esp
xor al, 0x83
les eax, [ebx + ebx*2]
mov eax, dword [ebp - 0x14]
add eax, 0xfe
imul ecx, dword [ebp - 0x10], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x10], 0xfe
sub ecx, edx
push esi
push esi
add esp, 4
xor esi, 0xbab4
call 0x40f73a
add byte [eax + 0x3f], cl
inc esi
cmp al, 0x46
inc esi
cmp dword [esi], edi
inc ebp
add esp, 4
call 0x40f74d
add byte [esi], bh
aas
push eax
inc esp
xor ecx, dword [esi + 0x34]
xor al, 0x47
add esp, 4
pop esi
mov edx, dword [ebp - 0x268]
add edx, 0xfe
imul eax, dword [ebp - 0x264], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x264], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x264]
mov dword [ebp - 0x1f84], edx
push esi
push esi
add esp, 4
and esi, 0xea78
pop esi
push ecx
or ecx, 0x9e27
call 0x40f7a9
add byte [esi + 0x3a], al
xor cl, byte [eax + 0x41]
inc esi
aaa
dec ebx
dec ebx
add esp, 4
xor ecx, 0xb2f8
and ecx, 0x12f76
pop ecx
mov edx, dword [ebp - 0x1f84]
sub edx, 1
mov dword [ebp - 0x15b8], edx
push edx
sub edx, 0x90fa
or edx, 0xde55
call 0x40f7e5
add byte [ecx + ecx*2 + 0x39], al
inc ecx
inc ebp
cmp al, 0x38
cmp eax, 0xc4834e3a
add al, 0xe8
or dword [eax], eax
add byte [eax], al
add byte [esi + ecx*2 + 0x50], al
aas
inc edi
dec edx
inc eax
add esp, 4
pop edx
push esi
push ebx
add esp, 4
call 0x40f80f
add byte [esi], bh
dec ebp
xor eax, dword [esi + 0x4c]
xor bh, byte ds:[edi]
cmp al, 0x45
add esp, 4
or esi, 0xb119
pop esi
push edi
jmp 0x40f81f
xor edi, 0xef93
xor edi, 0x1411b
pop edi
imul eax, dword [ebp - 0x264], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x264], 0xfe
sub eax, ecx
xor eax, dword [ebp - 0x15b8]
imul eax, dword [ebp - 0x264]
imul edx, dword [ebp - 0x264], 0xfe
sub eax, edx
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x15b8]
imul eax, dword [ebp - 0x264]
mov dword [ebp - 0x1f88], eax
mov dword [ebp - 0x1660], 1
push ebx
add ebx, 0x25c4
or ebx, 0x1ec4
pop ebx
push ebx
push eax
add esp, 4
sub ebx, 0x172d2
and ebx, 0x17aeb
call 0x40f8b1
add byte [esi + 0x37], al
push eax
inc eax
push eax
inc ebx
cmp al, 0x36
aaa
add esp, 4
pop ebx
imul ecx, dword [ebp - 0x1660], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x1660], 0xfe
sub ecx, edx
xor ecx, dword [ebp - 0x1f88]
imul ecx, dword [ebp - 0x1660]
imul eax, dword [ebp - 0x1660], 0xfe
sub ecx, eax
mov dword [ebp - 0x1664], ecx
push edx
add edx, 0x1371e
call 0x40f904
add byte [esi], dh
dec edi
dec edx
inc ebx
aaa
cmp al, byte [ebx - 0x1d7efb3c]
in al, dx
out dx, eax
add byte [eax], al
or edx, 0xa02b
pop edx
push eax
and eax, 0x445b
xor eax, 0x9efc
pop eax
mov ecx, dword [ebp - 0x268]
add ecx, 0xfe
imul edx, dword [ebp - 0x264], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x264], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x264]
mov dword [ebp - 0x1f8c], ecx
mov ecx, dword [ebp - 0x1f8c]
mov dword [ebp - 0x1f90], ecx
cmp dword [ebp - 0x1f90], 0
jbe 0x40fe66
push ecx
push edx
add esp, 4
xor ecx, 0x7a0
sub ecx, 0x6472
jmp 0x40f98a
pop ecx
push ebx
push edi
add esp, 4
xor ebx, 0xd38f
pop ebx
push ebx
push esi
add esp, 4
jmp 0x40f9a3
pop ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfe
imul eax, dword [ebp - 0x264], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x264], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x264]
mov dword [ebp - 0x1f94], edx
mov edx, dword [ebp - 0x1f94]
mov dword [ebp - 0x1fa0], edx
push edi
push ecx
add esp, 4
and edi, 0xe98d
pop edi
push eax
jmp 0x40f9fc
call 0x40fa08
add byte [eax], bh
cmp byte [ecx + 0x45], cl
xor eax, 0x4c48336
add eax, 0x172c2
or eax, 0xa425
pop eax
mov eax, dword [ebp - 0xa98]
add eax, 0xfe
imul ecx, dword [ebp - 0xa94], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0xa94], 0xfe
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0xa94]
mov dword [ebp - 0x1f98], eax
mov eax, dword [ebp - 0x1f98]
mov dword [ebp - 0x1f9c], eax
mov ecx, dword [ebp - 0x15bc]
imul ecx, dword [ebp - 0x1f9c]
cmp dword [ebp - 0x1fa0], ecx
jne 0x40fbe9
push eax
push ebx
add esp, 4
add eax, 0x109c0
pop eax
push esi
push edx
add esp, 4
add esi, 0x144b6
pop esi
push ecx
sub ecx, 0x1254d
jmp 0x40fa97
pop ecx
push ecx
push edi
add esp, 4
jmp 0x40faa4
pop ecx
push edi
push eax
add esp, 4
or edi, 0x2636
xor edi, 0x8164
add edi, 0xdb40
pop edi
push ebx
sub ebx, 0xb10e
add ebx, 0xb4f8
pop ebx
push eax
push edi
add esp, 4
xor eax, 0x164d5
pop eax
mov edx, dword [ebp - 0x2e4]
add edx, 0xfe
imul eax, dword [ebp - 0x2e0], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x2e0], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x1fa4], edx
mov edx, dword [ebp - 0x1fa4]
mov dword [ebp - 0x1fa8], edx
mov eax, dword [ebp - 0x1fa8]
sub eax, 1
mov dword [ebp - 0x1fac], eax
mov dword [ebp - 0x10b0], 1
push ebx
push edi
add esp, 4
or ebx, 0xf44
pop ebx
push edi
call 0x40fb4b
add byte [edx + 0x4d], al
inc eax
dec esi
xor al, 0x40
add esp, 4
call 0x40fb5a
add byte [edx + 0x3c], cl
aaa
inc esi
add esp, 4
add edi, 0x13529
pop edi
imul ecx, dword [ebp - 0x10b0], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x10b0], 0xfe
sub ecx, edx
xor ecx, dword [ebp - 0x1fac]
imul ecx, dword [ebp - 0x10b0]
imul eax, dword [ebp - 0x10b0], 0xfe
sub ecx, eax
mov dword [ebp - 0x10b4], ecx
mov ecx, dword [ebp - 0x10b4]
mov edx, dword [ebp - 0x10b0]
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2e0], edx
push edi
call 0x40fbc5
add byte [ebx], bh
dec ebx
inc ebp
cmp eax, 0x83473346
les eax, [ecx + eax*4]
iretd
push ebx
push edi
add esp, 4
xor ebx, 0x13c64
pop ebx
push eax
and eax, 0xbac
and eax, 0x11fa2
and eax, 0x1082b
pop eax
push edx
push ebx
add esp, 4
sub edx, 0xcb53
add edx, 0xdf7
pop edx
mov eax, dword [ebp - 0x268]
add eax, 0xfe
imul ecx, dword [ebp - 0x264], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x264], 0xfe
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x264]
mov dword [ebp - 0x1fb0], eax
mov eax, dword [ebp - 0x1fb0]
mov dword [ebp - 0x1fbc], eax
push eax
push ebx
add esp, 4
call 0x40fc71
add byte [edx], dh
dec eax
aas
push eax
dec eax
dec ecx
xor al, 0x4f
inc ecx
add esp, 4
jmp 0x40fc7a
sub eax, 0x17892
pop eax
push edx
and edx, 0x7172
jmp 0x40fc8e
pop edx
mov ecx, dword [ebp - 0xafc]
add ecx, 0xfe
imul edx, dword [ebp - 0xaf8], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0xaf8], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0xaf8]
mov dword [ebp - 0x1fb4], ecx
mov ecx, dword [ebp - 0x1fb4]
mov dword [ebp - 0x1fb8], ecx
mov edx, dword [ebp - 0x15bc]
imul edx, dword [ebp - 0x1fb8]
cmp dword [ebp - 0x1fbc], edx
jne 0x40fe61
push eax
add eax, 0x278d
and eax, 0x119
pop eax
push ebx
push edi
add esp, 4
or ebx, 0x68ff
xor ebx, 0x4637
and ebx, 0x11b57
pop ebx
push ecx
push edx
add esp, 4
xor ecx, 0xf0b1
pop ecx
push ecx
push esi
add esp, 4
sub ecx, 0x9562
or ecx, 0x14889
or ecx, 0x1529
pop ecx
push ecx
push edi
add esp, 4
or ecx, 0xe645
jmp 0x40fd48
or ecx, 0x17fc8
pop ecx
mov eax, dword [ebp - 0x2e4]
add eax, 0xfe
imul ecx, dword [ebp - 0x2e0], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x2e0], 0xfe
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x1fc0], eax
mov eax, dword [ebp - 0x1fc0]
mov dword [ebp - 0x1fc4], eax
mov ecx, dword [ebp - 0x1fc4]
sub ecx, 1
mov dword [ebp - 0x1fc8], ecx
mov dword [ebp - 0x10b8], 1
push esi
sub esi, 0xbeb8
pop esi
push edx
push edx
add esp, 4
and edx, 0x1885
call 0x40fdcd
add byte [ebx + edi + 0x46], al
dec edi
inc esp
dec ebx
inc eax
inc ebp
cmp dword [ebp - 0x7d], ecx
les eax, [ecx + eax*4]
retf 0x950b
jmp 0x40f71f
push ebx
push esi
add esp, 4
sub ebx, 0x124a2
and ebx, 0x909f
add ebx, 0x4921
and ebx, 0xd3e6
pop ebx
push esi
sub esi, 0x640a
add esi, 0x13726
add esi, 0x21b3
pop esi
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x2014], edx
lea eax, [ebp - 0x2018]
mov dword [ebp - 0x1fcc], eax
mov ecx, dword [ebp - 0x1fcc]
mov dword [ebp - 0xac8], ecx
push ebx
push ecx
add esp, 4
sub ebx, 0xf065
xor ebx, 0x1810e
jmp 0x40fedf
or ebx, 0xb88
pop ebx
push edi
push edx
add esp, 4
add edi, 0x132f6
pop edi
push ecx
or ecx, 0x1596b
pop ecx
mov edx, dword [ebp - 0xac8]
mov eax, dword [edx]
add eax, 0xfe
mov ecx, dword [ebp - 0xac8]
imul edx, dword [ecx + 4], 0xfe
add edx, 0x56f3663b
mov ecx, dword [ebp - 0xac8]
imul ecx, dword [ecx + 4], 0xfe
sub edx, ecx
xor eax, edx
mov edx, dword [ebp - 0xac8]
imul eax, dword [edx + 4]
mov dword [ebp - 0x1fd0], eax
mov eax, dword [ebp - 0x1fd0]
mov dword [ebp - 0x1fd8], eax
mov ecx, dword [ebp - 0x1fd4]
add ecx, dword [ebp - 0x1fd8]
mov dword [ebp - 0x1fdc], ecx
mov dword [ebp - 0x10c0], 1
push ebx
push ecx
add esp, 4
call 0x40ff74
add byte [esi + eax*2], dh
inc ecx
inc edi
inc edi
add esp, 4
jmp 0x40ff80
add ebx, 0xcfd
pop ebx
push ebx
and ebx, 0x4746
and ebx, 0xfaac
pop ebx
imul edx, dword [ebp - 0x10c0], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x10c0], 0xfe
sub edx, eax
xor edx, dword [ebp - 0x1fdc]
imul edx, dword [ebp - 0x10c0]
imul ecx, dword [ebp - 0x10c0], 0xfe
sub edx, ecx
mov dword [ebp - 0x10c4], edx
mov edx, dword [ebp - 0x10c4]
mov eax, dword [ebp - 0x10c0]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
push ecx
push ebx
add esp, 4
sub ecx, 0x14cd9
xor ecx, 0x2bf8
xor ecx, 0x672f
pop ecx
push edi
xor edi, 0xcdb2
jmp 0x410008
or edi, 0xc009
jmp 0x410013
pop edi
jmp 0x40ccb5