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

Disassembly:
add esp, 4
pop ecx
push ecx
push edi
add esp, 4
xor ecx, 0x6f8e
jmp 0x406efe
pop ecx
cmp dword [ebp - 0xca8], 0
jne 0x406f17
mov dword [ebp - 0x754], 0
jmp 0x407177
mov ecx, dword [ebp - 0xca8]
mov dword [ebp - 0x50c], ecx
push ecx
push ebx
add esp, 4
jmp 0x406f31
xor ecx, 0xe4ea
and ecx, 0x1eb5
pop ecx
push esi
push edi
add esp, 4
or esi, 0x16309
and esi, 0x6491
jmp 0x406f54
pop esi
lea edx, [ebp - 0x17ac]
mov dword [ebp - 0xca4], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xca0], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push eax
jmp 0x406f8c
pop eax
push ebx
add ebx, 0x1034c
sub ebx, 0x7b10
jmp 0x406fa1
and ebx, 0xfc98
pop ebx
push edi
push esi
add esp, 4
sub edi, 0x17746
pop edi
mov ecx, dword [ebp - 0xca0]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xca0]
add eax, 2
mov dword [ebp - 0xca0], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca4]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xca4]
add ecx, 2
mov dword [ebp - 0xca4], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x110], dx
push ebx
sub ebx, 0x16ccc
xor ebx, 0x2bf3
or ebx, 0x647f
or ebx, 0xd6cf
pop ebx
push ecx
sub ecx, 0x144aa
call 0x40703c
add byte [0x4a334e3b], bh
xor al, byte ss:[ebx + 0xf5904c4]
mov bh, 0x85
invalid
push esi
call 0x407187
add byte [ebp + 0x49], cl
xor eax, 0x4d4f4850
inc edi
xor eax, 0x5e04c483
push eax
jmp 0x407191
xor eax, 0x16d5
call 0x4071a5
add byte [ecx], bh
xor ecx, dword [edi + ecx*2 + 0x3b]
xor edi, dword [ebx]
cmp al, 0x83
les eax, [eax + ebx*2]
cmp dword [ebp - 0x754], 0
jne 0x4071f3
push esi
push edx
add esp, 4
xor esi, 0x11f22
add esi, 0x14e6d
call 0x4071d0
add byte [0x36483a3d], dh
dec eax
dec eax
add esp, 4
call 0x4071e0
add byte [ebx + 0x4d], cl
push eax
dec edx
xor eax, 0x4c4833a
pop esi
mov dword [ebp - 0x7a0], 0
jmp 0x407d1a
push edi
push edx
add esp, 4
add edi, 0x21ba
pop edi
push edi
push ecx
add esp, 4
or edi, 0x16501
and edi, 0x20a8
pop edi
push esi
xor esi, 0x2fd1
add esi, 0xfa90
and esi, 0x3900
pop esi
mov eax, dword [ebp - 0x754]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x764], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f8], edx
cmp dword [ebp - 0x15f8], 0
jne 0x407264
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], eax
jmp 0x407555
mov ecx, dword [ebp - 0x15f8]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15fc], edx
jne 0x40728c
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], eax
jmp 0x407555
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15fc]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1600], ecx
cmp dword [ebp - 0x1600], 0
jne 0x4072be
mov edx, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], edx
jmp 0x407555
mov eax, dword [ebp - 0x320]
add eax, dword [ebp - 0x1600]
mov dword [ebp - 0x758], eax
jne 0x4072e3
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], ecx
jmp 0x407555
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1998], eax
mov ecx, dword [ebp - 0x758]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x199c], edx
mov eax, dword [ebp - 0x758]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x19a0], ecx
mov dword [ebp - 0x75c], 0
jmp 0x40733d
mov edx, dword [ebp - 0x75c]
add edx, 1
mov dword [ebp - 0x75c], edx
mov eax, dword [ebp - 0x758]
mov ecx, dword [ebp - 0x75c]
cmp ecx, dword [eax + 0x18]
jae 0x407549
mov edx, dword [ebp - 0x75c]
mov eax, dword [ebp - 0x1998]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x760], ecx
mov edx, dword [ebp - 0x75c]
mov eax, dword [ebp - 0x199c]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x19a0]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x19a4], eax
mov dword [ebp - 0x194], 0
jmp 0x4073ad
mov ecx, dword [ebp - 0x194]
add ecx, 1
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x760]
add edx, dword [ebp - 0x194]
movsx eax, byte [edx]
test eax, eax
je 0x40745f
mov ecx, dword [ebp - 0x194]
movsx edx, byte [ebp + ecx - 0x898]
test edx, edx
je 0x40745f
push ebx
push ecx
add esp, 4
xor ebx, 0x13b01
xor ebx, 0x13ce3
sub ebx, 0x15c32
or ebx, 0x10121
pop ebx
push edi
jmp 0x4073ff
or edi, 0x3af6
xor edi, 0x182a3
pop edi
mov eax, dword [ebp - 0x760]
add eax, dword [ebp - 0x194]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x194]
movsx eax, byte [ebp + edx - 0x898]
cmp ecx, eax
je 0x407451
mov ecx, dword [ebp - 0x760]
add ecx, dword [ebp - 0x194]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x194]
movsx ecx, byte [ebp + eax - 0x898]
cmp edx, ecx
jne 0x407458
jmp 0x40739e
jmp 0x40745f
push eax
push eax
add esp, 4
and eax, 0x10506
pop eax
push eax
push esi
add esp, 4
sub eax, 0x13912
pop eax
push edx
sub edx, 0x6692
pop edx
push ebx
push eax
add esp, 4
and ebx, 0x850f
add ebx, 0x6601
pop ebx
mov edx, dword [ebp - 0x760]
add edx, dword [ebp - 0x194]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x194]
movsx edx, byte [ebp + ecx - 0x898]
cmp eax, edx
jne 0x4074be
mov dword [ebp - 0xcac], 0
jmp 0x40752d
push ecx
jmp 0x4074c4
call 0x4074d0
add byte [esi], dh
inc ebp
xor dh, byte [esi]
cmp byte [ebx - 0x7d], cl
les eax, [ebx + ebp*8]
push es
cmp byte [esi], dh
cmp dh, byte [edx]
pop ecx
push ebx
xor ebx, 0xab18
add ebx, 0x14c75
and ebx, 0xbc65
pop ebx
mov eax, dword [ebp - 0x760]
add eax, dword [ebp - 0x194]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x194]
movsx eax, byte [ebp + edx - 0x898]
or eax, 0x20
cmp ecx, eax
jge 0x407523
mov dword [ebp - 0xcac], 0xffffffff
jmp 0x40752d
mov dword [ebp - 0xcac], 1
cmp dword [ebp - 0xcac], 0
jne 0x407544
mov ecx, dword [ebp - 0x19a4]
mov dword [ebp - 0x3f8], ecx
jmp 0x407555
jmp 0x40732e
mov edx, dword [ebp - 0x764]
mov dword [ebp - 0x3f8], edx
cmp dword [ebp - 0x3f8], 0
je 0x407630
push ebx
sub ebx, 0xfa29
or ebx, 0xa861
and ebx, 0x13b20
add ebx, 0x17840
pop ebx
push eax
push esi
add esp, 4
sub eax, 0x8ca2
xor eax, 0x1524e
add eax, 0x1908
pop eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x19a8], eax
push esi
push edi
add esp, 4
add esi, 0x5919
add esi, 0x1e70
or esi, 0x15398
and esi, 0x6e8e
pop esi
push eax
push esi
add esp, 4
or eax, 0x6f54
pop eax
push edi
and edi, 0x16444
pop edi
mov ecx, dword [ebp - 0x19a8]
mov dword [ebp - 0x19ac], ecx
lea edx, [ebp - 0x1740]
push edx
call dword [ebp - 0x19ac]
test eax, eax
jne 0x407630
push edx
push eax
add esp, 4
call 0x407602
add byte [esi + 0x43], al
dec ebp
xor eax, 0x48324c3b
add esp, 4
call 0x407611
add byte [eax + 0x32], al
cmp byte [esi + 0x4f], al
inc ebp
add esp, 4
pop edx
push edx
push ebx
add esp, 4
sub edx, 0x12e0a
pop edx
mov dword [ebp - 0x7a0], 0
jmp 0x407d1a
push edx
push esi
add esp, 4
call 0x407641
add byte [eax], bh
aaa
inc ebp
inc ecx
inc ebp
inc esi
add esp, 4
xor edx, 0xed0
add edx, 0xa248
pop edx
push ecx
call 0x40765e
add byte [esi + 0x41], al
cmp dword ss:[edx + 0x49], eax
add esp, 4
pop ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x19b0], eax
mov ecx, dword [ebp - 0x19b0]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x19b4], edx
mov eax, dword [ebp - 0x19b4]
mov dword [ebp - 0x1604], eax
push ebx
and ebx, 0x10339
or ebx, 0xacf6
pop ebx
push ebx
sub ebx, 0xc2f7
pop ebx
push ebx
jmp 0x4076a8
or ebx, 0x4801
sub ebx, 0x10bd3
xor ebx, 0x1845
pop ebx
cmp dword [ebp - 0x1604], 0
jne 0x4076d3
mov dword [ebp - 0x2d4], 0
jmp 0x40797a
mov ecx, dword [ebp - 0x1604]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb8], eax
push esi
push ecx
add esp, 4
or esi, 0xcaf3
add esi, 0xc42e
pop esi
push esi
xor esi, 0x3d3a
add esi, 0x15fd1
pop esi
push ecx
push esi
add esp, 4
and ecx, 0xc829
and ecx, 0xed55
pop ecx
cmp dword [ebp - 0xcb8], 0
jne 0x40772f
mov dword [ebp - 0x2d4], 0
jmp 0x40797a
mov ecx, dword [ebp - 0xcb8]
mov dword [ebp - 0x510], ecx
push ecx
jmp 0x407742
and ecx, 0xa120
pop ecx
push edi
push ebx
add esp, 4
jmp 0x407754
xor edi, 0x13617
and edi, 0x15556
pop edi
push esi
push esi
add esp, 4
and esi, 0x11672
pop esi
lea edx, [ebp - 0x1740]
mov dword [ebp - 0xcb4], edx
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcb0], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push eax
sub eax, 0x6d04
jmp 0x4077a4
call 0x4077b3
add byte [0x4d3b3747], dh
cmp dword [edx], esi
cmp byte [ebx + eax*4], bh
les eax, [ecx + eax*4]
enter 0x2a6b, 1
add byte [eax + 0x51], bl
push ecx
add esp, 4
jmp 0x4077c8
pop ecx
mov ecx, dword [ebp - 0xcb0]
mov dx, word [ecx]
mov word [ebp - 0x103e], dx
mov eax, dword [ebp - 0xcb0]
add eax, 2
mov dword [ebp - 0xcb0], eax
mov cx, word [ebp - 0x103e]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb4]
mov ax, word [edx]
mov word [ebp - 0x1040], ax
mov ecx, dword [ebp - 0xcb4]
add ecx, 2
mov dword [ebp - 0xcb4], ecx
mov dx, word [ebp - 0x1040]
mov word [ebp - 0x34], dx
push esi
and esi, 0x66ae
or esi, 0x17b59
pop esi
push eax
push edi
add esp, 4
sub eax, 0x1023c
pop eax
push esi
or esi, 0x149ab
call 0x40784e
add byte [ecx + 0x48], al
xor ecx, dword [esi + 0x38]
dec eax
inc esp
add esp, 4
pop esi
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x40786f
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x160c], ecx
jmp 0x4078c9
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x407797
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x407797
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4078b3
mov dword [ebp - 0x1608], 0xffffffff
jmp 0x4078bd
mov dword [ebp - 0x1608], 1
mov eax, dword [ebp - 0x1608]
mov dword [ebp - 0x160c], eax
cmp dword [ebp - 0x160c], 0
jne 0x407912
push ecx
xor ecx, 0x5f04
sub ecx, 0xb472
call 0x4078ee
add byte [eax], bh
dec ebp
cmp dword ds:[0x4e4c3240], esi
add esp, 4
pop ecx
push esi
push ebx
add esp, 4
xor esi, 0x112d0
xor esi, 0x4ff
add al, 0
add byte [esi - 0x75], bl
invalid
invalid
cli
invalid
dec dword [ecx - 0x2d373]
invalid
jmp 0x40797a
push edi
xor edi, 0xfd86
call 0x407929
add byte [0x46374d4b], dh
dec edx
cmp dword [esi], esi
xor cl, byte [edx - 0x7d]
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [esi + 0x3a], cl
inc esp
cmp byte [edx + 0x3f], cl
cmp eax, 0x4c4834c
xor edi, 0x7438
pop edi
mov edx, dword [ebp - 0x510]
mov eax, dword [edx]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [ebp - 0xcb8]
je 0x407970
mov edx, dword [ebp - 0x510]
cmp dword [edx + 0x30], 0
jne 0x40773b
mov dword [ebp - 0x2d4], 0
push eax
or eax, 0x4ae7
pop eax
push ecx
push ebx
add esp, 4
sub ecx, 0x3415
or ecx, 0xaa18
call 0x4079a2
add byte [eax], bh
cmp dword [0x433b484d], edi
push eax
inc edi
add esp, 4
xor ecx, 0x5b25
pop ecx
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edi
push edx
add esp, 4
jmp 0x4079c8
or edi, 0x96a0
or edi, 0xa242
sub edi, 0x18f7
pop edi
push ecx
call 0x4079e9
add byte [esi + 0x3a], al
cmp byte [edi + 0x48], al
cmp cl, byte [ebx - 0x7d]
les eax, [ecx + ebx*2]
mov dword [ebp - 0x774], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1610], edx
jmp 0xbdc47a04
invalid
jmp 0x75417a0a
invalid
mov eax, dword [ebp - 0x774]
mov dword [ebp - 0x514], eax
jmp 0x407d0e
mov ecx, dword [ebp - 0x1610]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
invalid
xchg ebp, eax
in al, dx
invalid