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

Disassembly:
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push edi
jmp 0x1003fb59
pop edi
push eax
push eax
add esp, 4
jmp 0x1003fb64
pop eax
push eax
xor eax, 0x12a51
and eax, 0xa76a
add eax, 0x449f
pop eax
push ebx
jmp 0x1003fb80
pop ebx
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x74c]
cmp eax, 0xffffffff
jb 0x1003fbc9
push ecx
push eax
add esp, 4
jmp 0x1003fb9c
pop ecx
push ebx
sub ebx, 0x3587
pop ebx
push edi
sub edi, 0x4161
or edi, 0x17858
pop edi
push ecx
or ecx, 0x153d5
jmp 0x1003fbc3
pop ecx
jmp 0x1003fdf7
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xabc], ecx
push edi
push esi
add esp, 4
and edi, 0x1fd
call fcn.1003fbf8
add byte [ebp + 0x4d], al
inc edi
xor ecx, dword [ecx + 0x3a]
xor eax, dword [edi - 0x7d]
add esp, 4
call 0x1003fc07
add byte [ebp + 0x34], cl
xor dh, byte [edi]
add esp, 4
call 0x1003fc07
add byte [ebp + 0x34], cl
xor dh, byte [edi]
aaa
inc ecx
add esp, 4
xor edi, 0xba70
pop edi
mov edx, dword [ebp - 0x15c8]
mov dword [ebp - 0xab8], edx
mov dword [ebp - 0xc8c], 0
mov eax, dword [ebp - 0x500]
cmp eax, dword [ebp - 0x15c8]
jne 0x1003fc78
push edi
push ebx
add esp, 4
or edi, 0x12760
xor edi, 0x10176
sub edi, 0x17c79
pop edi
push ebx
xor ebx, 0x7b64
xor ebx, 0x9037
xor ebx, 0x1052c
and ebx, 0xf801
pop ebx
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d0], ecx
jmp 0x1003fda9
cmp dword [ebp - 0xc88], 0
jle 0x1003fd9d
push edi
add edi, 0xc955
call 0x1003fc99
add byte [0x33464435], bh
inc esp
add esp, 4
add edi, 0x11dc
pop edi
push edi
xor edi, 0x17c11
or edi, 0x752b
and edi, 0x15ca6
pop edi
mov edx, dword [ebp - 0xabc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xab8]
movzx edx, byte [ecx]
cmp eax, edx
je 0x1003fd39
push ecx
push eax
add esp, 4
or ecx, 0x3a09
pop ecx
push ecx
push edx
add esp, 4
and ecx, 0x13564
or ecx, 0x7928
xor ecx, 0x11d1a
pop ecx
push ecx
or ecx, 0x12441
sub ecx, 0x2f61
pop ecx
mov eax, dword [ebp - 0xabc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xab8]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x1003fd21
mov dword [ebp - 0x15cc], 1
jmp 0x1003fd2b
mov dword [ebp - 0x15cc], 0xffffffff
mov ecx, dword [ebp - 0x15cc]
mov dword [ebp - 0xc8c], ecx
jmp 0x1003fd9d
push ebx
push edx
add esp, 4
sub ebx, 0x26a2
pop ebx
push ebx
push esi
add esp, 4
xor ebx, 0x1038
xor ebx, 0x136da
pop ebx
push edi
and edi, 0x16d5a
pop edi
push edi
push ebx
add esp, 4
or edi, 0x17a5c
pop edi
mov edx, dword [ebp - 0xc88]
sub edx, 1
mov dword [ebp - 0xc88], edx
mov eax, dword [ebp - 0xabc]
add eax, 1
mov dword [ebp - 0xabc], eax
mov ecx, dword [ebp - 0xab8]
add ecx, 1
mov dword [ebp - 0xab8], ecx
jmp 0x1003fc78
mov edx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d0], edx
cmp dword [ebp - 0x15d0], 0
jne 0x1003fdf2
push edi
call 0x1003fdbf
add byte [ebp + 0x50], cl
dec edx
cmp eax, 0xc4833a3f
add al, 0x5f
push ecx
sub ecx, 0x15e66
and ecx, 0xb917
xor ecx, 0x12ef8
pop ecx
push edx
jmp 0x1003fddd
xor edx, 0x151ed
pop edx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab4], eax
jmp 0x1003fe33
jmp 0x1003fb40
push ecx
call 0x1003fe06
add byte [esi + 0x3e], cl
inc esp
dec edx
aaa
aaa
xor al, 0x36
add esp, 4
call 0x1003fe17
add byte [eax], bh
dec ebp
xor al, 0x50
xor eax, 0x833b3c42
les eax, [ecx + eax*4]
ror dword [eax + 0x590000d6], 0x50
xor eax, 0x16444
pop eax
mov dword [ebp - 0xab4], 0
push edi
push ecx
add esp, 4
jmp 0x1003fe40
add edi, 0x12351
or edi, 0x132aa
xor edi, 0x16336
pop edi
push ebx
push esi
add esp, 4
add ebx, 0x10b6f
xor ebx, 0x82ef
pop ebx
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 eax
push edx
add esp, 4
and eax, 0x2aeb
or eax, 0x10323
or eax, 0x16405
sub eax, 0x27d0
pop eax
push eax
sub eax, 0x16e56
pop eax
push edx
push esi
add esp, 4
sub edx, 0x6149
pop edx
mov ecx, 0x6b
mov word [ebp - 0x1734], cx
mov edx, 0x65
mov word [ebp - 0x1732], dx
mov eax, 0x72
mov word [ebp - 0x1730], ax
mov ecx, 0x6e
mov word [ebp - 0x172e], cx
mov edx, 0x65
mov word [ebp - 0x172c], dx
mov eax, 0x6c
mov word [ebp - 0x172a], ax
mov ecx, 0x33
mov word [ebp - 0x1728], cx
mov edx, 0x32
mov word [ebp - 0x1726], dx
mov eax, 0x2e
mov word [ebp - 0x1724], ax
mov ecx, 0x64
mov word [ebp - 0x1722], cx
mov edx, 0x6c
mov word [ebp - 0x1720], dx
mov eax, 0x6c
mov word [ebp - 0x171e], ax
xor ecx, ecx
mov word [ebp - 0x171c], cx
push eax
jmp 0x1003ff8e
add eax, 0xbaad
pop eax
push edx
push ebx
add esp, 4
xor edx, 0x4c6c
pop edx
push edi
push ecx
add esp, 4
call 0x1003ffb2
add byte [esi + 0x43503b4c], bh
add esp, 4
pop edi
push edi
call 0x1003ffc4
add byte [esi + 0x36], al
cmp al, 0x3b
inc edx
xor cl, byte [edx - 0x7d]
les eax, [eax + ebp*8]
pop es
add byte [eax], al
add byte [eax], al
xor eax, 0x3341484c
add esp, 4
pop edi
push edi
call 0x1003ffe4
add byte [edi + 0x38], al
inc ebx
inc eax
dec edx
inc edx
add esp, 4
pop edi
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1ff4], edx
mov eax, dword [ebp - 0x1ff4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1950], ecx
mov edx, dword [ebp - 0x1950]
mov dword [ebp - 0x159c], edx
push eax
push ebx
add esp, 4
sub eax, 0x8641
pop eax
push esi
xor esi, 0x9ec1
pop esi
push ebx
push edx
add esp, 4
and ebx, 0xfb6
xor ebx, 0x14a9e
add ebx, 0x2edf
xor ebx, 0x7db0
pop ebx
cmp dword [ebp - 0x159c], 0
jne 0x1004005a
mov dword [ebp - 0x318], 0
jmp 0x10040316
mov eax, dword [ebp - 0x159c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push eax
xor eax, 0xf2f
call 0x1004007f
add byte [eax + 0x36], cl
inc ebx
cmp al, 0x32
inc esi
add esp, 4
call 0x10040092
add byte [eax + 0x3b], dl
xor al, 0x38
cmp dword [ebp + 0x3a], ecx
inc eax
cmp dword [ebx + eax*4], edi
les eax, [ebx + ebp*8]
push es
dec eax
cmp bh, byte [ebx]
cmp byte [edx + 0x39], cl
pop eax
cmp dword [ebp - 0xc98], 0
jne 0x100400b6
mov dword [ebp - 0x318], 0
jmp 0x10040316
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push eax
push ebx
add esp, 4
jmp 0x100400cc
and eax, 0x10baf
or eax, 0x929d
xor eax, 0x38af
pop eax
push eax
push eax
add esp, 4
jmp 0x100400ed
and eax, 0x10f68
pop eax
lea ecx, [ebp - 0x1734]
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 - 0x20c], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push ebx
push ebx
add esp, 4
add ebx, 0x8574
and ebx, 0xe19d
and ebx, 0xe491
add ebx, 0x74d4
pop ebx
push eax
xor eax, 0x4811
add eax, 0x45f5
jmp 0x10040152
pop eax
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 - 0x20c], 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
and ebx, 0x74b4
pop ebx
push edx
push eax
add esp, 4
or edx, 0x1372f
add edx, 0x128f
pop edx
push ebx
jmp 0x100401d2
xor ebx, 0xdfef
and ebx, 0x3941
pop ebx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x10040202
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x10040265
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x10040121
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x10040121
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x1004024f
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x10040259
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x100402ae
push edi
sub edi, 0x7ead
jmp 0x1004027b
and edi, 0xa4a6
pop edi
push edi
xor edi, 0x130f6
pop edi
push ecx
push ecx
add esp, 4
call 0x1004029c
add byte [ebx], bh
dec ecx
cmp al, 0x34
add esp, 4
pop ecx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x10040316
push esi
jmp 0x100402b8
pop esi
push eax
xor eax, 0x181b9
or eax, 0x87a0
or eax, 0x149dc
call 0x100402dc
add byte [ecx + 0x35], al
aaa
dec ebp
aaa
inc eax
dec esi
dec eax
cmp eax, 0x4c48343
pop eax
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 0x1004030c
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x100400c2
mov dword [ebp - 0x318], 0
push esi
push esi
add esp, 4
xor esi, 0x4eeb
sub esi, 0x9e9f
or esi, 0xf12a
add esi, 0x14666
pop esi
push ebx
or ebx, 0x9c00
or ebx, 0xd7cf
xor ebx, 0xce82
pop ebx
cmp dword [ebp - 0x318], 0
jne 0x10040c61
mov edx, 0x6b
mov word [ebp - 0x1770], dx
mov eax, 0x65
mov word [ebp - 0x176e], ax
mov ecx, 0x72
mov word [ebp - 0x176c], cx
mov edx, 0x6e
mov word [ebp - 0x176a], dx
mov eax, 0x65
mov word [ebp - 0x1768], ax
mov ecx, 0x6c
mov word [ebp - 0x1766], cx
mov edx, 0x33
mov word [ebp - 0x1764], dx
mov eax, 0x32
mov word [ebp - 0x1762], ax
mov ecx, 0x2e
mov word [ebp - 0x1760], cx
mov edx, 0x64
mov word [ebp - 0x175e], dx
mov eax, 0x6c
mov word [ebp - 0x175c], ax
mov ecx, 0x6c
mov word [ebp - 0x175a], cx
xor edx, edx
mov word [ebp - 0x1758], dx
push eax
push ecx
add esp, 4
xor eax, 0x3e35
sub eax, 0x8694
pop eax
push eax
xor eax, 0x9416
sub eax, 0xe77c
sub eax, 0xf92e
pop eax
push edi
push edx
add esp, 4
and edi, 0x1ac1
pop edi
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 - 0x1954], eax
mov ecx, dword [ebp - 0x1954]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1958], edx
mov eax, dword [ebp - 0x1958]
mov dword [ebp - 0x15dc], eax
push edi
push ecx
add esp, 4
and edi, 0xfa18
jmp 0x100404b3
xor edi, 0xc00a
pop edi
push esi
or esi, 0xa35a
or esi, 0x160b0
add esi, 0x1d1
xor esi, 0x16627
pop esi
cmp dword [ebp - 0x15dc], 0
jne 0x100404ec
mov dword [ebp - 0x750], 0
jmp 0x100407a8
mov ecx, dword [ebp - 0x15dc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push esi
push ebx
add esp, 4
and esi, 0x5e92
sub esi, 0x7dd7