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

Disassembly:
jmp 0x40781a
pop ebx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x198c], ecx
mov edx, dword [ebp - 0x198c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1990], eax
mov ecx, dword [ebp - 0x1990]
mov dword [ebp - 0x15f8], ecx
push ecx
push ecx
add esp, 4
call 0x407854
add byte [edx], bh
cmp eax, dword [ebp + 0x43]
inc ebp
inc ebx
add esp, 4
add ecx, 0x11e0d
call 0x40786b
add byte [edi + 0x4f], cl
dec ebp
inc esp
cmp eax, 0xc4834f4c
add al, 0x81
rcr edi, 4
add dword [eax], eax
pop ecx
cmp dword [ebp - 0x15f8], 0
jne 0x40788d
mov dword [ebp - 0x2f0], 0
jmp 0x407b34
mov edx, dword [ebp - 0x15f8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcc4], ecx
push edi
or edi, 0x3d36
pop edi
push ebx
push ecx
add esp, 4
jmp 0x4078b1
or ebx, 0x8af2
pop ebx
push esi
xor esi, 0x2aac
pop esi
push esi
xor esi, 0x3107
jmp 0x4078d0
pop esi
cmp dword [ebp - 0xcc4], 0
jne 0x4078e9
mov dword [ebp - 0x2f0], 0
jmp 0x407b34
mov edx, dword [ebp - 0xcc4]
mov dword [ebp - 0x508], edx
push ecx
push edx
add esp, 4
jmp 0x407902
pop ecx
push eax
and eax, 0xb327
jmp 0x407911
add eax, 0xb2d7
jmp 0x40791e
pop eax
push edi
sub edi, 0xafb3
pop edi
lea eax, [ebp - 0x173c]
mov dword [ebp - 0xcc0], eax
mov ecx, dword [ebp - 0x508]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcbc], edx
xor eax, eax
mov word [ebp - 0x234], ax
xor ecx, ecx
mov word [ebp - 0x48], cx
push ecx
push edx
add esp, 4
or ecx, 0x1c38
add ecx, 0x336a
call 0x407970
add byte [ebx], bh
xor al, 0x43
cmp dword [edi + 0x3d], ecx
dec ebp
dec esp
add esp, 4
call 0x40797f
add byte [ebx], bh
cmp byte [edi + edi], bh
cmp bh, byte [0x5904c483]
mov edx, dword [ebp - 0xcbc]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcbc]
add ecx, 2
mov dword [ebp - 0xcbc], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x234], dx
mov eax, dword [ebp - 0xcc0]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xcc0]
add edx, 2
mov dword [ebp - 0xcc0], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x48], ax
push esi
push eax
add esp, 4
and esi, 0xa524
pop esi
push esi
push edi
add esp, 4
sub esi, 0x518
pop esi
push ecx
push esi
add esp, 4
jmp 0x4079ff
add ecx, 0x5d5
add ecx, 0x66d9
pop ecx
movzx ecx, word [ebp - 0x48]
test ecx, ecx
jne 0x407a29
movzx edx, word [ebp - 0x234]
movzx eax, word [ebp - 0x48]
sub edx, eax
mov dword [ebp - 0x1600], edx
jmp 0x407a83
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x48]
cmp ecx, edx
je 0x407951
movzx eax, word [ebp - 0x234]
xor eax, 0x20
movzx ecx, word [ebp - 0x48]
cmp eax, ecx
je 0x407951
movzx edx, word [ebp - 0x234]
movzx eax, word [ebp - 0x48]
cmp edx, eax
jge 0x407a6d
mov dword [ebp - 0x15fc], 0xffffffff
jmp 0x407a77
mov dword [ebp - 0x15fc], 1
mov ecx, dword [ebp - 0x15fc]
mov dword [ebp - 0x1600], ecx
cmp dword [ebp - 0x1600], 0
jne 0x407acc
push edi
xor edi, 0x17cc0
or edi, 0xac82
sub edi, 0x8f
xor edi, 0x7e76
pop edi
push ebx
push esi
add esp, 4
or ebx, 0x5b36
sub ebx, 0x745c
sub ebx, 0x7c7
pop ebx
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x2f0], edx
jmp 0x407b34
push edi
and edi, 0x1a23
or edi, 0x8641
and edi, 0x4ba8
pop edi
push ecx
push eax
add esp, 4
and ecx, 0x7d9d
jmp 0x407af1
or ecx, 0xd5a4
and ecx, 0x7a2f
pop ecx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax]
mov dword [ebp - 0x508], ecx
mov edx, dword [ebp - 0x508]
cmp edx, dword [ebp - 0xcc4]
je 0x407b2a
mov eax, dword [ebp - 0x508]
cmp dword [eax + 0x30], 0
jne 0x4078f5
mov dword [ebp - 0x2f0], 0
push ecx
push edi
add esp, 4
sub ecx, 0x13c45
sub ecx, 0x1192d
add ecx, 0x11d17
pop ecx
push ecx
push edx
add esp, 4
and ecx, 0x712d
pop ecx
push eax
sub eax, 0xb2f9
add eax, 0x7eee
pop eax
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push ecx
push ebx
add esp, 4
sub ecx, 0xd120
and ecx, 0x5c6
pop ecx
push esi
push eax
add esp, 4
xor esi, 0x1599b
or esi, 0x8da5
jmp 0x407ba0
and esi, 0x4196
pop esi
mov dword [ebp - 0x778], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1604], eax
cmp dword [ebp - 0x1604], 0
jne 0x407bd7
mov ecx, dword [ebp - 0x778]
mov dword [ebp - 0x50c], ecx
jmp 0x407ec8
mov edx, dword [ebp - 0x1604]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1608], eax
jne 0x407bff
mov ecx, dword [ebp - 0x778]
mov dword [ebp - 0x50c], ecx
jmp 0x407ec8
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x160c], edx
cmp dword [ebp - 0x160c], 0
jne 0x407c31
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x50c], eax
jmp 0x407ec8
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x160c]
mov dword [ebp - 0x76c], ecx
jne 0x407c56
mov edx, dword [ebp - 0x778]
mov dword [ebp - 0x50c], edx
jmp 0x407ec8
mov eax, dword [ebp - 0x76c]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1994], ecx
mov edx, dword [ebp - 0x76c]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1998], eax
mov ecx, dword [ebp - 0x76c]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x199c], edx
mov dword [ebp - 0x770], 0
jmp 0x407cb0
mov ecx, dword [ebp - 0x76c]
mov edx, dword [ebp - 0x770]
cmp edx, dword [ecx + 0x18]
jae 0x407ebc
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0x1994]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x774], edx
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x7a4], ecx