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

Disassembly:
and edx, 0x161c
pop edx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x41c], edx
push ebx
or ebx, 0x16cce
or ebx, 0x809a
add byte [ecx + 0x16a38cb], al
add al, ch
or al, byte [eax]
add byte [eax], al
add byte [edi + 0x32], cl
push eax
dec ebx
cmp esi, dword [edx]
xor cl, byte [eax + 0x3a]
add esp, 4
pop ebx
push ebx
push edi
add esp, 4
and ebx, 0xe560
pop ebx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x420], ecx
push ebx
push edx
add esp, 4
add ebx, 0x17a2
and ebx, 0x4bb4
pop ebx
push ebx
add ebx, 0x156a8
pop ebx
push ebx
push edx
add esp, 4
xor ebx, 0x81f6
and ebx, 0x14a8
or ebx, 0x109f8
pop ebx
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x310], edx
cmp dword [ebp - 0x310], 0
jne 0x40780a
push esi
push ebx
add esp, 4
jmp 0x4077d9
or esi, 0x1292c
pop esi
push eax
push edx
add esp, 4
xor eax, 0x437
add eax, 0xf968
or eax, 0x6af8
or eax, 0x430
pop eax
mov dword [ebp - 0x70], 0
jmp 0x407b96
push eax
push ecx
add esp, 4
xor eax, 0x91d8
add eax, 0x1353e
xor eax, 0x2716
pop eax
push edi
or edi, 0x2f5e
or edi, 0x769a
xor edi, 0x154fb
sub edi, 0xfa85
pop edi
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x254], edx
cmp dword [ebp - 0x254], 0
jne 0x407895
push eax
push eax
add esp, 4
xor eax, 0x39d1
pop eax
push edx
push edi
add esp, 4
jmp 0x407870
xor edx, 0x13208
and edx, 0xdf41
pop edx
push esi
push esi
add esp, 4
or esi, 0x4487
pop esi
mov dword [ebp - 0x70], 0
jmp 0x407b96
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0xa8], eax
push esi
push ebx
add esp, 4
xor esi, 0xad0d
sub esi, 0x10df4
xor esi, 0x141c1
pop esi
push eax
xor eax, 0x4e16
xor eax, 0xe13f
pop eax
push ecx
push ecx
add esp, 4
add ecx, 0x539a
pop ecx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x24c], eax
push esi
and esi, 0x11da4
and esi, 0xb650
xor esi, 0xd0d1
pop esi
push ebx
push eax
add esp, 4
or ebx, 0x85a9
call 0x40791c
add byte [ecx + 0x32], al
cmp dword [ebx], edi
cmp al, 0x44
inc ebp
dec eax
add esp, 4
pop ebx
xor ecx, ecx
mov word [ebp - 0x68], cx
xor edx, edx
mov word [ebp - 0x1c], dx
push esi
push ecx
add esp, 4
jmp 0x407938
xor esi, 0x8e8d
add esi, 0x33de
pop esi
push ecx
add ecx, 0x17731
pop ecx
push ecx
push ecx
add esp, 4
jmp 0x407957
xor ecx, 0xb463
pop ecx
mov eax, dword [ebp - 0x24c]
mov cx, word [eax]
mov word [ebp - 0x1d2], cx
mov edx, dword [ebp - 0x24c]
add edx, 2
mov dword [ebp - 0x24c], edx
mov ax, word [ebp - 0x1d2]
mov word [ebp - 0x68], ax
push ebx
or ebx, 0x16d2b
add ebx, 0x957d
call 0x4079a4
add byte [esi], bh
dec eax
aas
dec esi
inc ebp
dec ecx
inc ebp
push eax
push eax
add esp, 4
or ebx, 0xb2aa
pop ebx
push esi
push edi
add esp, 4
add esi, 0x1622f
pop esi
mov ecx, dword [ebp - 0x250]
mov dx, word [ecx]
mov word [ebp - 0x1d4], dx
mov eax, dword [ebp - 0x250]
add eax, 2
mov dword [ebp - 0x250], eax
mov cx, word [ebp - 0x1d4]
mov word [ebp - 0x1c], cx
push edx
push edx
add esp, 4
sub edx, 0x8218
add edx, 0xa4e1
and edx, 0xe04b
and edx, 0x1337e
pop edx
push eax
add eax, 0x102a8
sub eax, 0x8a3
and eax, 0xeccd
pop eax
movzx edx, word [ebp - 0x1c]
test edx, edx
jne 0x407a33
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x318], eax
jmp 0x407ab6
movzx edx, word [ebp - 0x68]
movzx eax, word [ebp - 0x1c]
cmp edx, eax
je 0x40792c
movzx ecx, word [ebp - 0x68]
xor ecx, 0x20
movzx edx, word [ebp - 0x1c]
cmp ecx, edx
je 0x40792c
push ecx
push esi
add esp, 4
xor ecx, 0x4187
pop ecx
push edi
xor edi, 0x11e4c
sub edi, 0x43ca
and edi, 0x5b64
pop edi
push esi
push ecx
add esp, 4
or esi, 0x16115
or esi, 0x169d3
pop esi
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x1c]
cmp eax, ecx
jge 0x407aa0
mov dword [ebp - 0x314], 0xffffffff
jmp 0x407aaa
mov dword [ebp - 0x314], 1
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 0
jne 0x407aff
push eax
and eax, 0x8dec
sub eax, 0x139b3
xor eax, 0xb43d
sub eax, 0xe079
pop eax
push edx
push ecx
add esp, 4
jmp 0x407ae4
sub edx, 0x1145c
and edx, 0xd7f3
pop edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
jmp 0x407b96
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
push edi
jmp 0x407b16
add edi, 0x12ef5
add edi, 0x121e4
xor edi, 0xc24f
pop edi
push eax
or eax, 0xb18f
pop eax
push esi
or esi, 0xc82a
sub esi, 0x11507
pop esi
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x254]
je 0x407b5d
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x30], 0
jne 0x4078a1
push ecx
push edx
add esp, 4
or ecx, 0x12e1c
call 0x407b78
add byte [ecx], bh
inc ebp
inc edx
aas
cmp byte [ecx + 0x48], cl
dec edi
aas
inc ebx
add esp, 4
pop ecx
push edx
call 0x407b8b
add byte [ecx + 0x32], cl
dec edi
xor edi, dword [ebx]
cmp al, 0x49
push eax
add esp, 4
pop edx
mov dword [ebp - 0x70], 0
push ebx
push esi
add esp, 4
jmp 0x407ba3
and ebx, 0xfd1e
and ebx, 0x162d1
add ebx, 0x8287
pop ebx
push ebx
push ebx
add esp, 4
jmp 0x407bc1
add ebx, 0x7d48
pop ebx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x80], eax
push esi
and esi, 0xcaa0
sub esi, 0x12a63
xor esi, 0x15160
xor esi, 0x47b7
pop esi
push esi
push ecx
add esp, 4
call 0x407bff
add byte [ecx], bh
cmp byte [ebx], bh
dec edi
cmp byte [eax + 0x41], cl
dec ebp
cmp eax, dword [ebx - 0x38a1fb3c]
test esp, ebp
invalid