Function at 0x40de00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x461e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x4770d0]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4770d0]
xor eax, esp
push eax
lea eax, [esp + 0x5b8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c8]
mov ecx, 0x94
lea esi, [esp + 0x5cc]
lea edi, [esp + 0x50]
push 0x64
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
lea ecx, [esp + 0x554]
push ebx
push ecx
mov dword [esp + 0x28], eax
call fcn.00431510
xor eax, eax
push str.SystemDrive
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], eax
mov word [esp + 0x2b8], ax
call fcn.00433c33
add esp, 0x10
push eax
lea ecx, [esp + 0x34]
call fcn.004092b0
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x2e0]
mov dword [esp + 0x5c0], ebx
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40deb0
lea edx, [esp + 0x314]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40dec5
lea eax, [esp + 0x2e0]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40ded7
mov edx, dword [str.ProgramData]
mov ecx, dword [0x465c90]
mov dword [eax], edx
mov edx, dword [0x465c94]
mov dword [eax + 4], ecx
mov cl, byte [0x465c98]
lea edi, [esp + 0x314]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x40df10
mov ecx, 6
mov esi, str.Program_FilesMessenger
rep movsd dword es:[edi], dword [esi]
sub esp, 0x1c
movsb byte es:[edi], byte [esi]
mov ecx, esp
lea eax, [esp + 0x2fc]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x50], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40df45
sub eax, esi
push eax
lea edx, [esp + 0x300]
push edx
call fcn.004016a0
call fcn.00405510
add esp, 0x1c
cmp al, 1
jne 0x40dfa3
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x2e0]
mov byte [esp + eax + 0x2ac], cl
inc eax
cmp cl, bl
jne 0x40df70
lea edi, [esp + 0x2ac]
dec edi
jmp 0x40df90
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x40df90
mov ax, word [0x465d94]
mov word [edi], ax
jmp 0x40dfe2
xor eax, eax
jmp 0x40dfb0
mov cl, byte [esp + eax + 0x314]
mov byte [esp + eax + 0x2ac], cl
inc eax
cmp cl, bl
jne 0x40dfb0
lea edi, [esp + 0x2ac]
dec edi
jmp 0x40dfd0
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x40dfd0
mov cx, word [0x465d94]
mov word [edi], cx
lea eax, [esp + 0x2ac]
mov edx, eax
jmp 0x40dff0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40dff0
lea edi, [esp + 0x550]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40e001
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x478f4c]
push 0xa
lea edx, [esp + 0x2a4]
push edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004601ac
lea eax, [esp + 0x2ac]
add esp, 0xc
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40e040
mov ecx, dword [str..txt]
mov dl, byte [0x465fbc]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x2a0]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e062
lea edi, [esp + 0x550]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40e073
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00423c34
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e0a5
push 0x80004005
call fcn.00401df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x5c0], 1
call fcn.00423c34
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e0d7
push 0x80004005
call fcn.00401df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x5c0], 2
call fcn.00423c34
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e109
push 0x80004005
call fcn.00401df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x5c0], 3
call fcn.00423c34
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e13b
push 0x80004005
call fcn.00401df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x5c0], 4
cmp dword [0x478f48], ebx
jne 0x40e1b0
push 0x22
push str._directory_name_
mov ecx, 0x478f80
call fcn.00423edd
mov edx, dword [0x478f44]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e177
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov ecx, 0x478f80
call fcn.00423edd
push 4
push 0x465f8c
mov ecx, 0x478f80
call fcn.00423edd
mov dword [0x478f48], 1
test byte [esp + 0x50], 0x10
je 0x40e419
mov ecx, 0x465f88
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e1ea
cmp dx, bx
je 0x40e1e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e1ea
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40e1c4
xor eax, eax
jmp 0x40e1ef
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40e6ac
mov ecx, 0x465f80
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e226
cmp dx, bx
je 0x40e222
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e226
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40e200
xor eax, eax
jmp 0x40e22b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40e6ac
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x24]
call fcn.00407780
push 0x22
push str._directory_name_
mov ecx, 0x478f80
call fcn.00423edd
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e260
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, 0x478f80
call fcn.00423edd
push 4
push 0x465f8c
mov ecx, 0x478f80
call fcn.00423edd
push 0x206
lea eax, [esp + 0x34e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x354], dx
call fcn.00431510
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x354]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x40e2c2
lea eax, [esp + 0x348]
lea edx, [eax + 2]
jmp 0x40e2e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e2e0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x346], 0x5c
je 0x40e318
lea edi, [esp + 0x348]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x40e304
mov ecx, dword [0x465f7c]
mov dword [edi], ecx
mov edx, dword [esp + 0x64]
fldz
mov eax, dword [esp + 0x68]
fstp qword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
call fcn.004031a0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
push str._d__m__Y
lea edx, [esp + 0x20]
mov dword [esp + 0x4c], ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call fcn.0040c880
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c4], 5
call fcn.004058c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e3a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x1c]
push 0x465f68
push edx
call fcn.004060d0
lea eax, [esp + 0x88]
add esp, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e3c7
lea edi, [esp + 0x348]
sub eax, edx
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40e3e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x348]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040f820
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 4
jmp 0x40e6ac
push 0x206
lea edx, [esp + 0x34e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x354], cx
call fcn.00431510
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e440
lea edi, [esp + 0x348]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40e460
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40e460
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x348]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e486
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x346], 0x5c
je 0x40e4c3
lea edi, [esp + 0x348]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x40e4b0
mov eax, dword [0x465f7c]
mov dword [edi], eax
lea eax, [esp + 0x7c]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e4d0
lea edi, [esp + 0x348]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40e4f0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40e4f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x348]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e516
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404e20
fldz
mov edx, dword [esp + 0x64]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
call fcn.004031a0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
push str._d__m__Y
lea edx, [esp + 0x50]
mov dword [esp + 0x4c], ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call fcn.0040c880
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c4], 6
call fcn.004058c0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x5c0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e5ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x1c]
push 0x465f68
push ecx
call fcn.004060d0
add esp, 0xc
push 0x18
push str._file_name_
mov ecx, 0x478f80
call fcn.00423edd
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e5f5
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, 0x478f80
call fcn.00423edd
push 4
push 0x465f44
mov ecx, 0x478f80
call fcn.00423edd
push 0xc
push str.size_
mov ecx, 0x478f80
call fcn.00423edd
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax]
push ecx
push ebp
mov ecx, 0x478f80
call fcn.00423edd
push 4
push 0x465f44
mov ecx, 0x478f80
call fcn.00423edd
push 0xe
push str.mdate_
mov ecx, 0x478f80
call fcn.00423edd
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
lea edx, [eax + eax]
push edx
push edi
mov ecx, 0x478f80
call fcn.00423edd
push 4
push 0x465f44
mov ecx, 0x478f80
call fcn.00423edd
push 6
push 0x465f1c
mov ecx, 0x478f80
call fcn.00423edd
lea eax, [edi - 0x10]
mov byte [esp + 0x5c0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x5c0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x5c0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e71c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x5c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e76e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.00431b29
add esp, 0x5b0
ret